Skip to content

Commit adf5872

Browse files
committed
refactor(ui-select,ui-scripts): remove accidental code committed
1 parent 599f35b commit adf5872

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/ui-scripts/lib/utils/handle-generate-tokens.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525
import fse from 'fs-extra'
26-
import { existsSync } from 'fs'
2726
import path from 'path'
2827
import StyleDictionary from 'style-dictionary'
2928

packages/ui-select/src/Select/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ describes: Select
171171
const [selectedOptionId, setSelectedOptionId] = useState(options[0].id)
172172
const [announcement, setAnnouncement] = useState(null)
173173
const [inputElement, setInputElement] = useState(null)
174-
const inputRef = useRef()
174+
175175
const focusInput = () => {
176176
inputElement.blur()
177177
if (inputElement) {
@@ -233,7 +233,6 @@ describes: Select
233233
onRequestHighlightOption={handleHighlightOption}
234234
onRequestSelectOption={handleSelectOption}
235235
inputRef={(el) => {
236-
inputRef.current = el
237236
setInputElement(el)
238237
}}
239238
>

0 commit comments

Comments
 (0)