mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
auth redirect preserves location state
This commit is contained in:
@@ -31,6 +31,7 @@ export default function RequireAuth({
|
||||
<Navigate
|
||||
to={ROUTES.auth + `?redirect=${encodeURIComponent(redirect)}`}
|
||||
replace
|
||||
state={location.state}
|
||||
/>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user