Skip to content

Commit 11396d8

Browse files
committed
[#102] 🐛 remove unused arguments in handleSelect
1 parent fbf0057 commit 11396d8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/shared/select/Select.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useState } from 'react'
2-
31
import { IcCaretDown, IcCaretUp } from '@/assets/IconList'
42
import clsx from 'clsx'
53

@@ -49,7 +47,7 @@ export const Select = ({
4947
{options.map(option => (
5048
<Dropdown.Item
5149
key={option.value}
52-
onClick={() => handleSelect(option.value, option.label)}
50+
onClick={() => handleSelect(option.value)}
5351
>
5452
{option.label}
5553
</Dropdown.Item>

0 commit comments

Comments
 (0)