Implementing Logout Functionality
The final feature we need to develop is logging out.
Back to the Project
To implement the logout feature within the <SideNav />
component, invoke the signOut
function from auth.ts
within your <form>
element:
Test it using the following credentials:
- mail:
user@mail.com
; - password:
123456
.
In Practice
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 7. Kapitel 8
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 2.08
Implementing Logout Functionality
Svep för att visa menyn
The final feature we need to develop is logging out.
Back to the Project
To implement the logout feature within the <SideNav />
component, invoke the signOut
function from auth.ts
within your <form>
element:
Test it using the following credentials:
- mail:
user@mail.com
; - password:
123456
.
In Practice
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 7. Kapitel 8