From 5d360cfbf70509f6d6a9460e63df592ffe5466de Mon Sep 17 00:00:00 2001 From: DiamondThree Date: Fri, 23 Dec 2022 10:39:25 +0800 Subject: [PATCH] fix: publish status show err --- .../components/workspace-setting/workspace-setting.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/app/src/components/workspace-setting/workspace-setting.tsx b/packages/app/src/components/workspace-setting/workspace-setting.tsx index a61bee5daa..bd075c4665 100644 --- a/packages/app/src/components/workspace-setting/workspace-setting.tsx +++ b/packages/app/src/components/workspace-setting/workspace-setting.tsx @@ -311,11 +311,6 @@ const PublishPage = ({ workspace }: { workspace: Workspace }) => {
{workspace.public ? ( - - After publishing to the web, everyone can view the content of this - workspace through the link. - - ) : ( <> The current workspace has been published to the web, everyone can @@ -331,6 +326,11 @@ const PublishPage = ({ workspace }: { workspace: Workspace }) => { + ) : ( + + After publishing to the web, everyone can view the content of this + workspace through the link. + )} {!workspace.public ? (