mirror of
https://github.com/makeplane/plane.git
synced 2025-12-23 23:29:37 +01:00
15 lines
288 B
TypeScript
15 lines
288 B
TypeScript
|
|
export type TPageFlagHookArgs = {
|
||
|
|
workspaceSlug: string;
|
||
|
|
};
|
||
|
|
|
||
|
|
export type TPageFlagHookReturnType = {
|
||
|
|
isMovePageEnabled: boolean;
|
||
|
|
};
|
||
|
|
|
||
|
|
export const usePageFlag = (args: TPageFlagHookArgs): TPageFlagHookReturnType => {
|
||
|
|
const {} = args;
|
||
|
|
return {
|
||
|
|
isMovePageEnabled: false,
|
||
|
|
};
|
||
|
|
};
|