The map loads partially when the component is called, but then I just open the dev tools that it loads and starts receiving 200 http, but if it opens with the dev tools appearing, the same happens and receives the code 304 http, and it is removed the dev tools it loads again normally. I'm using ionic with react.
<MapContainer
center={[middleOfVisit.lat, middleOfVisit.lng]}
zoom={15}
style={{ width: '100%', height: '85vh' }}
>
<TileLayer
url={`https://api.mapbox.com/styles/v1/mapbox/streets-v11/tiles/256/{z}/{x}/{y}@2x?access_token=${process.env.REACT_APP_MAPBOX_TOKEN}`}
/>