mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 13:26:40 +07:00
completely removed flow-related sagas
This commit is contained in:
parent
5f3accee48
commit
38eedab3c2
26 changed files with 326 additions and 310 deletions
|
@ -7,8 +7,9 @@ import styles from './styles.module.scss';
|
|||
import { useLoadNode } from '~/hooks/node/useLoadNode';
|
||||
import { useUpdateNode } from '~/hooks/node/useUpdateNode';
|
||||
import { INode } from '~/redux/types';
|
||||
import { observer } from 'mobx-react';
|
||||
|
||||
const EditorEditDialog: FC = () => {
|
||||
const EditorEditDialog: FC = observer(() => {
|
||||
const history = useHistory();
|
||||
|
||||
const {
|
||||
|
@ -46,6 +47,6 @@ const EditorEditDialog: FC = () => {
|
|||
}
|
||||
|
||||
return <EditorDialog node={node} onRequestClose={goBack} onSubmit={onSubmit} />;
|
||||
};
|
||||
});
|
||||
|
||||
export { EditorEditDialog };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue