fix: wrong share status display (#4336)

This commit is contained in:
JimmFly
2023-09-13 13:11:05 +08:00
committed by GitHub
parent 32ee946670
commit bdc2695caf

View File

@@ -32,7 +32,7 @@ export interface ShareMenuProps<
export const ShareMenu = (props: ShareMenuProps) => {
const { useIsSharedPage } = props;
const isSharedPage = useIsSharedPage(
const [isSharedPage] = useIsSharedPage(
props.workspace.id,
props.currentPage.id
);