fix: Background error on public shared pages
This commit is contained in:
@@ -70,9 +70,9 @@ function DocumentHeader({
|
|||||||
headings,
|
headings,
|
||||||
}: Props) {
|
}: Props) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const team = useCurrentTeam();
|
const { ui, policies, auth } = useStores();
|
||||||
const { ui, policies } = useStores();
|
|
||||||
const { resolvedTheme } = ui;
|
const { resolvedTheme } = ui;
|
||||||
|
const { team } = auth;
|
||||||
const isMobile = useMobile();
|
const isMobile = useMobile();
|
||||||
|
|
||||||
const handleSave = React.useCallback(() => {
|
const handleSave = React.useCallback(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user