Modfied auth to use notification provider
This commit is contained in:
@@ -140,6 +140,7 @@ export function AuthProvider({ children }: PropsWithChildren) {
|
||||
})
|
||||
.then(() => {
|
||||
setUser(null);
|
||||
notify({type: "success", loading: false, title: "Logout successful!", message: ""}, 2000)
|
||||
})
|
||||
.catch((e) => {
|
||||
notify(
|
||||
|
||||
Reference in New Issue
Block a user