Skip to content

Commit

Permalink
fix: update value of slider (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Sep 26, 2023
1 parent 45d4df8 commit 7cb2985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/play/PlayView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const PlayView = () => {
response={newResponse.data}
setResponse={(value: SliderAppDataDataRecord) => {
setNewResponse(
newResponse.update('data', (data) => data.merge(value))
newResponse.update('data', (data) => data.merge({value}))
);
}}
showCorrection={showCorrection}
Expand Down

0 comments on commit 7cb2985

Please sign in to comment.