Skip to content
Snippets Groups Projects
Commit c23371ef authored by chris's avatar chris
Browse files

fix state

parent 57dfc47a
No related branches found
No related tags found
1 merge request!396add inputs
......@@ -70,7 +70,7 @@ const Editors = () => {
case 'ncbi':
return <NCBI />;
default:
return <HHMI />;
return <Editoria />;
}
};
......
......@@ -152,7 +152,7 @@ export default ({ node, view, getPos }) => {
);
}
});
}, [options, context]);
}, [options, JSON.stringify(context.pmViews.main.state)]);
const addOption = () => {
if (addOptionRef.current.value.trim() === '') return;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment