fix: Background error on public shared pages

This commit is contained in:
Tom Moor
2021-11-26 17:10:45 -06:00
parent c64387668d
commit 5b27c0f84d

View File

@@ -70,9 +70,9 @@ function DocumentHeader({
headings,
}: Props) {
const { t } = useTranslation();
const team = useCurrentTeam();
const { ui, policies } = useStores();
const { ui, policies, auth } = useStores();
const { resolvedTheme } = ui;
const { team } = auth;
const isMobile = useMobile();
const handleSave = React.useCallback(() => {