All components mount 4 times

Good afternoon.

I’m having a problem with my project home rendering. I noticed that all components are being mounted 4 times.

I need to consult an API when setting up this screen, and because of that I noticed that the screen was consulting the API several times.

Does anyone have any idea what could be causing this?

index.tsx = Homepage

And in the “components/CampaignGallery.tsx” component:

The “CampaignGallery_” component is rendered 4 times.

Hello @delighted_cardinal. Can you DM me your project ID please?

hmmm could it caused by React 18’s strict mode (if you’re running development mode)?

Since it unmounts and remounts each component whenever mounting for the first time: