[WIKI-384] chore: editor core refactor (#7235)
* fix: extra actions * chore: page flags
This commit is contained in:
parent
171099667e
commit
414010688d
5 changed files with 19 additions and 1 deletions
|
|
@ -4,11 +4,13 @@ export type TPageFlagHookArgs = {
|
|||
|
||||
export type TPageFlagHookReturnType = {
|
||||
isMovePageEnabled: boolean;
|
||||
isPageSharingEnabled: boolean;
|
||||
};
|
||||
|
||||
export const usePageFlag = (args: TPageFlagHookArgs): TPageFlagHookReturnType => {
|
||||
const {} = args;
|
||||
return {
|
||||
isMovePageEnabled: false,
|
||||
isPageSharingEnabled: false,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue