fix: publish status show err

This commit is contained in:
DiamondThree
2022-12-23 10:39:25 +08:00
parent 7981df150a
commit 5d360cfbf7
@@ -311,11 +311,6 @@ const PublishPage = ({ workspace }: { workspace: Workspace }) => {
<div>
<StyledPublishContent>
{workspace.public ? (
<StyledPublishExplanation>
After publishing to the web, everyone can view the content of this
workspace through the link.
</StyledPublishExplanation>
) : (
<>
<StyledPublishExplanation>
The current workspace has been published to the web, everyone can
@@ -331,6 +326,11 @@ const PublishPage = ({ workspace }: { workspace: Workspace }) => {
</StyledCopyButtonContainer>
</StyledPublishCopyContainer>
</>
) : (
<StyledPublishExplanation>
After publishing to the web, everyone can view the content of this
workspace through the link.
</StyledPublishExplanation>
)}
</StyledPublishContent>
{!workspace.public ? (