fix: wrong share status display (#4336)
This commit is contained in:
@@ -32,7 +32,7 @@ export interface ShareMenuProps<
|
|||||||
|
|
||||||
export const ShareMenu = (props: ShareMenuProps) => {
|
export const ShareMenu = (props: ShareMenuProps) => {
|
||||||
const { useIsSharedPage } = props;
|
const { useIsSharedPage } = props;
|
||||||
const isSharedPage = useIsSharedPage(
|
const [isSharedPage] = useIsSharedPage(
|
||||||
props.workspace.id,
|
props.workspace.id,
|
||||||
props.currentPage.id
|
props.currentPage.id
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user