Find a place to put your startup queries so that they don't have be run twice inside your application. Right now you're running them both inside mainpage and also profile page. I may want to find something like useAuth so that I have access to it in all of my links
Find a place to put your startup queries so that they don't have be run twice inside your application. Right now you're running them both inside mainpage and also profile page. I may want to find something like
useAuth
so that I have access to it in all of my links