Fix bad redirect after request all
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -172,7 +172,7 @@ export function useRequestAccessCallback() {
|
||||
}
|
||||
|
||||
toast(successToastArgs(__));
|
||||
window.location.href = (getPathPrefix() || "/") + location.pathname;
|
||||
window.location.href = window.location.origin + (getPathPrefix() || "/") + location.pathname;
|
||||
},
|
||||
onError: (error) => {
|
||||
toast(errorToastArgs(__, error));
|
||||
|
||||
Reference in New Issue
Block a user