mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
Merge pull request #15975 from supabase/hotfix/authorize-redirect-on-approve
Fix authorize redirect
This commit is contained in:
1 file changed
+1
-1
@@ -31,7 +31,7 @@ const APIAuthorizationPage: NextPageWithLayout = () => {
|
||||
|
||||
const { mutate: approveRequest, isLoading: isApproving } = useApiAuthorizationApproveMutation({
|
||||
onSuccess: (res) => {
|
||||
router.push(res.url)
|
||||
window.location.href = res.url
|
||||
},
|
||||
})
|
||||
const { mutate: declineRequest, isLoading: isDeclining } = useApiAuthorizationDeclineMutation({
|
||||
|
||||
Reference in new issue
Block a user