From ee6138134d9df3383807789aa63a0f2733e5e8b8 Mon Sep 17 00:00:00 2001 From: DiamondThree <857159145@qq.com> Date: Wed, 11 Jan 2023 12:12:12 +0800 Subject: [PATCH] feat: publish workspace --- .../workspace-setting/MembersPage.tsx | 2 +- .../workspace-setting/PublishPage.tsx | 32 ++++--------------- .../components/workspace-setting/SyncPage.tsx | 26 ++------------- .../app/src/hooks/use-workspace-helper.ts | 32 +++++++++++++++---- .../providers/app-state-provider/Provider.tsx | 2 +- .../data-center/src/provider/affine/affine.ts | 1 + 6 files changed, 38 insertions(+), 57 deletions(-) diff --git a/packages/app/src/components/workspace-setting/MembersPage.tsx b/packages/app/src/components/workspace-setting/MembersPage.tsx index 3859bcbd26..08b2640c97 100644 --- a/packages/app/src/components/workspace-setting/MembersPage.tsx +++ b/packages/app/src/components/workspace-setting/MembersPage.tsx @@ -64,7 +64,7 @@ export const MembersPage = ({ workspace }: { workspace: WorkspaceUnit }) => { return (