This reverts commit e58c229664.
This commit is contained in:
1 parent
e58c229664
commit
ea250d418d
11 files changed
+2
-107
No files matched your search
@@ -26,8 +26,3 @@ export const useEditMode = () => {
|
||||
|
||||
return context;
|
||||
};
|
||||
|
||||
export const useOptionalEditMode = (): boolean => {
|
||||
const context = useContext(EditModeContext);
|
||||
return context ? context[0] : false;
|
||||
};
|
||||
Reference in new issue
Block a user