feat: Redirect to previous page after login (#4731)

fix: #4721
This commit is contained in:
Aditya Pimpalkar
2024-04-03 07:05:18 +01:00
committed by GitHub
parent 5f6109bb53
commit 6ed0a5e2d6
3 changed files with 17 additions and 5 deletions

View File

@ -0,0 +1,6 @@
import { createState } from '@/ui/utilities/state/utils/createState';
export const previousUrlState = createState<string>({
key: 'previousUrlState',
defaultValue: '',
});