chore: add page flag hook (#6354)

This commit is contained in:
Aaryan Khandelwal 2025-01-08 15:42:14 +05:30 committed by GitHub
parent ac14d57f8b
commit 92645c1cee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 26 additions and 5 deletions

View file

@ -1 +0,0 @@
export const ENABLE_MOVE_PAGE = false;

View file

@ -0,0 +1,14 @@
export type TPageFlagHookArgs = {
workspaceSlug: string;
};
export type TPageFlagHookReturnType = {
isMovePageEnabled: boolean;
};
export const usePageFlag = (args: TPageFlagHookArgs): TPageFlagHookReturnType => {
const {} = args;
return {
isMovePageEnabled: false,
};
};