From 3beba7e0f64d4fa3e5b64f29c01ed519b0fc9d05 Mon Sep 17 00:00:00 2001 From: Lauri Harpf Date: Sun, 27 Jun 2021 19:12:18 +0300 Subject: [PATCH] refactor: Remove unused "active" variable --- addons/ondevice-knobs/src/types/Select.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/ondevice-knobs/src/types/Select.js b/addons/ondevice-knobs/src/types/Select.js index d2c120f695..6b295fb912 100644 --- a/addons/ondevice-knobs/src/types/Select.js +++ b/addons/ondevice-knobs/src/types/Select.js @@ -29,8 +29,6 @@ class SelectType extends React.Component { const options = this.getOptions(knob); - const active = options.filter(({ key }) => knob.value === key)[0]; - return ( onChange(itemValue)}>