I have a map layer with a custom picture. The problem is, that it gets rendered 6 times although the Tilelayer component only gets rendered once.
<MapContainer
className='absolute h-[750px] w-[750px] left-[45%] top-[80px] bg-no-repeat bg-cover bg-[#688daa]'
center={[51.505, -0.09]} zoom={5} scrollWheelZoom={true} noWrap={true}>
<TileLayer
noWrap={true}
url="/allmap.jpg"
/>
</MapContainer>
