Skip to content

Commit

Permalink
fixes: toggle element not updating afte the first udpate of the curre…
Browse files Browse the repository at this point in the history
…nt state (ToolJet#4622)
  • Loading branch information
arpitnath authored Oct 27, 2022
1 parent 416ff9b commit e210b85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/Editor/CodeBuilder/CodeHinter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ export function CodeHinter({
onChange={(value) => {
if (value !== currentValue) {
onChange(value);
setCurrentValue(value);
}
}}
paramName={paramName}
Expand Down

0 comments on commit e210b85

Please sign in to comment.