When i load a page it executes an action twice
I have this in my component.tsx file which on its end is a component loaded into a page
Now the function that i have now is ran twice when i open the page. I only want this function to run once since it executes an actoin on the server, how come this?