mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-11-29 19:08:33 +08:00
chore: publish bug (#74)
This commit is contained in:
@@ -64,7 +64,7 @@ export const Document = (props: DocumentProps) => {
|
|||||||
el.style.minHeight = `${scrollElement?.clientHeight - 64}px`;
|
el.style.minHeight = `${scrollElement?.clientHeight - 64}px`;
|
||||||
}, [onRendered]);
|
}, [onRendered]);
|
||||||
|
|
||||||
if(!document || !viewMeta.viewId || !viewMeta.workspaceId) return null;
|
if (!document || !viewMeta.viewId) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ function CollabView({ doc }: CollabViewProps) {
|
|||||||
className={className}
|
className={className}
|
||||||
>
|
>
|
||||||
<View
|
<View
|
||||||
workspaceId={''}
|
workspaceId={'publish'}
|
||||||
doc={doc}
|
doc={doc}
|
||||||
readOnly={true}
|
readOnly={true}
|
||||||
loadViewMeta={loadViewMeta}
|
loadViewMeta={loadViewMeta}
|
||||||
|
|||||||
Reference in New Issue
Block a user