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

fix lists rerender

parent 589a4164
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,11 @@ const Button = ({ view = {}, item }) => {
select(state, activeViewId, activeView)
);
let isDisabled = !select(state, activeViewId, activeView);
let isDisabled = !select(
context.activeView.state,
context.activeViewId,
context.activeView,
);
if (!isEditable) isDisabled = true;
const MenuButtonComponent = 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