feat: publish local workspace (#1406)

This commit is contained in:
Himself65
2023-03-07 23:31:22 -06:00
committed by GitHub
parent 88967a1dbe
commit f172831733
7 changed files with 62 additions and 30 deletions
-1
View File
@@ -1,4 +1,3 @@
import '@blocksuite/editor/themes/affine.css';
import '../styles/globals.css';
import { config, setupGlobal } from '@affine/env';
@@ -102,8 +102,9 @@ const SettingPage: NextPageWithLayout = () => {
(targetWorkspaceId: string) => {
router
.replace({
pathname: `/workspace/[workspaceId]/all`,
pathname: `/workspace/[workspaceId]/setting`,
query: {
...router.query,
workspaceId: targetWorkspaceId,
},
})