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:
parent
57f90ee46b
commit
54ce8db210
8 changed files with 51 additions and 22 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue