mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix: wrong share status display (#4336)
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user