chore: add page flag hook (#6354)
This commit is contained in:
parent
ac14d57f8b
commit
92645c1cee
5 changed files with 26 additions and 5 deletions
|
|
@ -1 +0,0 @@
|
|||
export const ENABLE_MOVE_PAGE = false;
|
||||
14
web/ce/hooks/use-page-flag.ts
Normal file
14
web/ce/hooks/use-page-flag.ts
Normal 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,
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue