Skip to content

Commit 30439ba

Browse files
committed
[#102] 🐛 fix build error by erasing dependency list in dropdown
1 parent b0cd412 commit 30439ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/common/dropdown/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const Dropdown = ({ children, className }: BaseProps): JSX.Element => {
4747
return () => {
4848
document.removeEventListener('mousedown', handleClickOutside)
4949
}
50-
}, [])
50+
})
5151

5252
return (
5353
<DropdownContext.Provider value={{ isOpen, toggle, close }}>

0 commit comments

Comments
 (0)