diff --git a/packages/client/src/components/document/reader/public/index.tsx b/packages/client/src/components/document/reader/public/index.tsx index 56a85cc..4557040 100644 --- a/packages/client/src/components/document/reader/public/index.tsx +++ b/packages/client/src/components/document/reader/public/index.tsx @@ -38,7 +38,7 @@ interface IProps { hideLogo?: boolean; } -export const DocumentPublicReader: React.FC = ({ documentId, hideLogo = true }) => { +export const DocumentPublicReader: React.FC = ({ documentId, hideLogo = false }) => { const $form = useRef(); const mounted = useMount() const { data, loading, error, query } = usePublicDocumentDetail(documentId); @@ -120,7 +120,7 @@ export const DocumentPublicReader: React.FC = ({ documentId, hideLogo = /> ) - }, [error, data, mounted]) + }, [error, data, mounted, editorWrapClassNames, fontSize]) return ( @@ -128,7 +128,7 @@ export const DocumentPublicReader: React.FC = ({ documentId, hideLogo =