|
|
@ -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 = () => {
|
|
|
|
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;
|
|
|
|