PACS-TMU / terrahacks-portal

Application portal for TerraHacks
https://portal.terrahacks.ca
GNU Affero General Public License v3.0
1 stars 1 forks source link

Signout Button uses API instead of Native Supabase #30

Open MoNakouzi opened 5 months ago

MoNakouzi commented 5 months ago

Signout Button currently uses an API call instead of native supabase, and that means that when an error is thrown on signout, all that happens is a user is thrown into an endless loading on signout. This can be fixed by using a server action on the click of the signout button, or by using a supabase client that runs on the client-side.

The admin portal can be used for reference.