Skip to content

Commit

Permalink
chore: remove unused state (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeng1998 committed Dec 19, 2022
1 parent b67ed1e commit bd6ab71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions web/src/components/MemoEditor.tsx
Expand Up @@ -35,7 +35,6 @@ const setEditingMemoVisibilityCache = (visibility: Visibility) => {
interface State {
fullscreen: boolean;
isUploadingResource: boolean;
shouldShowEmojiPicker: boolean;
}

const MemoEditor = () => {
Expand All @@ -49,7 +48,6 @@ const MemoEditor = () => {
const [state, setState] = useState<State>({
isUploadingResource: false,
fullscreen: false,
shouldShowEmojiPicker: false,
});
const [allowSave, setAllowSave] = useState<boolean>(false);
const editorState = editorStore.state;
Expand Down

0 comments on commit bd6ab71

Please sign in to comment.