Unverified Commit bd6ab71d authored by Zeng1998's avatar Zeng1998 Committed by GitHub

chore: remove unused state (#780)

parent b67ed1ee
...@@ -35,7 +35,6 @@ const setEditingMemoVisibilityCache = (visibility: Visibility) => { ...@@ -35,7 +35,6 @@ const setEditingMemoVisibilityCache = (visibility: Visibility) => {
interface State { interface State {
fullscreen: boolean; fullscreen: boolean;
isUploadingResource: boolean; isUploadingResource: boolean;
shouldShowEmojiPicker: boolean;
} }
const MemoEditor = () => { const MemoEditor = () => {
...@@ -49,7 +48,6 @@ const MemoEditor = () => { ...@@ -49,7 +48,6 @@ const MemoEditor = () => {
const [state, setState] = useState<State>({ const [state, setState] = useState<State>({
isUploadingResource: false, isUploadingResource: false,
fullscreen: false, fullscreen: false,
shouldShowEmojiPicker: false,
}); });
const [allowSave, setAllowSave] = useState<boolean>(false); const [allowSave, setAllowSave] = useState<boolean>(false);
const editorState = editorStore.state; const editorState = editorStore.state;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment