chore: remove unused state (#780)

pull/781/head
Zeng1998 2 years ago committed by GitHub
parent b67ed1ee13
commit bd6ab71d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -35,7 +35,6 @@ const setEditingMemoVisibilityCache = (visibility: Visibility) => {
interface State {
fullscreen: boolean;
isUploadingResource: boolean;
shouldShowEmojiPicker: boolean;
}
const MemoEditor = () => {
@ -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;

Loading…
Cancel
Save