Merge branch 'develop' into feature/remove-react-fc

This commit is contained in:
DarkSky authored and GitHub committed 2022-08-12 19:18:57 +08:00
commit 8b7d8dc348
64 files changed
+1953 -1059

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}
+2 -2
View File
@@ -22,8 +22,8 @@ export function WorkspaceHome() {
workspace_id,
user_initial_page_id,
TemplateFactory.generatePageTemplateByGroupKeys({
name: null,
groupKeys: ['todolist'],
name: '👋 Get Started with AFFINE',
groupKeys: ['getStartedGroup0', 'getStartedGroup1'],
})
);
}