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

fix argument

parent ab270cf7
No related branches found
No related tags found
1 merge request!343fix argument
...@@ -33,7 +33,7 @@ const ToolBarBtn = ({ view = {}, item }) => { ...@@ -33,7 +33,7 @@ const ToolBarBtn = ({ view = {}, item }) => {
active(state, activeViewId) && select(state, activeViewId) active(state, activeViewId) && select(state, activeViewId)
); );
let isDisabled = !select(state, activeViewId, activeView); let isDisabled = !select(state, activeView);
if (!isEditable) isDisabled = true; if (!isEditable) isDisabled = true;
const ToolBarBtnComponent = useMemo( const ToolBarBtnComponent = useMemo(
......
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