mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
Event creation
This commit is contained in:
@ -67,7 +67,7 @@ export const AuthContextProvider: FC<{ children: ReactNode }> = ({children}) =>
|
||||
|
||||
useEffect(() => {
|
||||
if (ready && user) {
|
||||
replace({pathname: "/(auth)"})
|
||||
replace({pathname: "/(auth)/calendar"})
|
||||
} else if (ready && !user) {
|
||||
replace({pathname: "/(unauth)"})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user