Skip to content

Commit

Permalink
lensSelection was being set as string when it should be int
Browse files Browse the repository at this point in the history
  • Loading branch information
xinaesthete committed Aug 21, 2024
1 parent d5da9ae commit 996fea3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function LensSelect() {
native
value={lensSelection}
onChange={e =>
useImageSettingsStore.setState({ lensSelection: e.target.value })
useImageSettingsStore.setState({ lensSelection: Number.parseInt(e.target.value) })
}
>
{currChannelIndices.map((channelIndex, relativeIndex) => (
Expand Down

0 comments on commit 996fea3

Please sign in to comment.