1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

displaying text

This commit is contained in:
Fedor Katurov 2019-10-17 14:44:13 +07:00
parent 57f90ee46b
commit 54ce8db210
8 changed files with 51 additions and 22 deletions

View file

@ -19,8 +19,6 @@ const mapStateToProps = state => {
const { editor, errors } = selectNode(state);
const { statuses, files } = selectUploads(state);
console.log('mss', { editor });
return { editor, statuses, files, errors };
};
@ -57,12 +55,10 @@ const EditorDialogUnconnected: FC<IProps> = ({
const onSubmit = useCallback(
(event: FormEvent) => {
console.log({ data, editor });
event.preventDefault();
return;
nodeSave(data);
},
[data, nodeSave, editor]
[data, nodeSave]
);
useEffect(() => {