summaryrefslogtreecommitdiff
path: root/src/components/shared/Select.tsx
diff options
context:
space:
mode:
authorHaishan <[email protected]>2020-08-06 16:26:01 +0800
committerHaishan <[email protected]>2020-08-06 22:40:26 +0800
commit2c9ee574ddd5d242021e5954ca6f6144f99eb7f2 (patch)
treef085d8083f106f2decd1156c6ba715c34acd38ed /src/components/shared/Select.tsx
parent941224c13ba87d2c3f36fb86652f046a5c76e00d (diff)
refactor: improve a11y
Diffstat (limited to 'src/components/shared/Select.tsx')
-rw-r--r--src/components/shared/Select.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/shared/Select.tsx b/src/components/shared/Select.tsx
index 03ac084..376fb3c 100644
--- a/src/components/shared/Select.tsx
+++ b/src/components/shared/Select.tsx
@@ -10,6 +10,7 @@ type Props = {
export default function Select({ options, selected, onChange }: Props) {
return (
+ // eslint-disable-next-line jsx-a11y/no-onchange
<select className={s.select} value={selected} onChange={onChange}>
{options.map(([value, name]) => (
<option key={value} value={value}>