Merge remote-tracking branch 'origin/develop' into feat/update-get-started-template

This commit is contained in:
alt0 committed 2022-08-12 18:10:07 +08:00
commit 2cc091c708
19 files changed
+358 -239

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ export function RoutePrivate({
return <PageLoading />;
}
if (!user) {
if (!user || !pathname.startsWith(`/${user.id}`)) {
return (
<Navigate
to={unauthorizedRedirectTo}