Skip to content

Commit

Permalink
refactor: Remove unused "active" variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lauriharpf committed Jul 1, 2021
1 parent ecfc984 commit 3beba7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions addons/ondevice-knobs/src/types/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ class SelectType extends React.Component {

const options = this.getOptions(knob);

const active = options.filter(({ key }) => knob.value === key)[0];

return (
<View>
<Picker selectedValue={knob.value} onValueChange={(itemValue) => onChange(itemValue)}>
Expand Down

0 comments on commit 3beba7e

Please sign in to comment.