Skip to content

Commit

Permalink
fix bug related to tool mode
Browse files Browse the repository at this point in the history
  • Loading branch information
anovazzi1 committed Nov 19, 2024
1 parent ebe4f34 commit 9106b7c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,10 @@ export default function NodeToolbarComponent({
open={openModal}
setOpen={setOpenModal}
dynamic={true}
setNodeClass={handleNodeClass}
setNodeClass={(apiClassType, type) => {
handleNodeClass(apiClassType, type);
setToolMode(false);
}}
nodeClass={data.node}
value={data.node?.template[name].value ?? ""}
>
Expand Down

0 comments on commit 9106b7c

Please sign in to comment.