Skip to content

Commit b722525

Browse files
committed
fix: dropdown
1 parent 51d6053 commit b722525

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@beeinventor/dasiot-react-component-lib",
3-
"version": "1.1.7",
3+
"version": "1.1.8",
44
"module": "lib/index.js",
55
"types": "lib/index.d.ts",
66
"files": [

src/components/Dropdown/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const Dropdown: React.VFC<DropDownProps> = (props) => {
8282
}
8383
}
8484
}
85-
}, [selectedId]);
85+
}, [selectedId, list]);
8686

8787
const handleOnClickSelect = () => {
8888
setIsOpen(true);

0 commit comments

Comments
 (0)