fix: replay pending action after login
This commit is contained in:
@@ -13,7 +13,7 @@ export function useRequireAuth() {
|
||||
if (isAuthenticated) {
|
||||
action()
|
||||
} else {
|
||||
openLoginDialog()
|
||||
openLoginDialog(action)
|
||||
}
|
||||
},
|
||||
[isAuthenticated, openLoginDialog],
|
||||
|
||||
Reference in New Issue
Block a user