codersforcauses / coexist

https://coexist-events.vercel.app
MIT License
6 stars 0 forks source link

Connect login modal to the backend #45

Closed dct0 closed 2 months ago

dct0 commented 2 months ago

Basic Information

BRANCH OFF #12 IF NOT MERGED ALREADY

Create a useAuth hook in the client/src/hooks/auth.ts. It should contain a method login() which when called

Other Information

There's no need to use tanstack query for this, (unlike the usePings example). You can just create a vanilla hook

github-actions[bot] commented 2 months ago

Branch issue-45-Connect_login_modal_to_the_backend created!