Skip to content

Commit a7209b3

Browse files
🔖 v3.0.4
1 parent 8f2a4d2 commit a7209b3

File tree

3 files changed

+1072
-1276
lines changed

3 files changed

+1072
-1276
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-multi-select-component",
3-
"version": "3.0.3",
3+
"version": "3.0.4",
44
"description": "Simple and lightweight multiple selection dropdown component with checkboxes, search and select-all",
55
"author": "Harsh Zalavadiya",
66
"license": "MIT",
@@ -36,6 +36,7 @@
3636
"@types/react": "^16.9.36",
3737
"@types/react-dom": "^16.9.8",
3838
"babel-loader": "^8.1.0",
39+
"eslint-plugin-prettier": "^3.1.4",
3940
"husky": "^4.2.5",
4041
"prettier": "^2.0.5",
4142
"react": "^16.13.1",

src/select-panel/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* Select-all item, and the list of options.
55
*/
66
import { css } from "goober";
7-
import React, { useCallback, useEffect, useMemo, useState } from "react";
7+
import React, { useCallback, useMemo, useState } from "react";
88

9-
import { filterOptions } from "../lib/fuzzy-match-utils";
109
import { debounce } from "../lib/debounce";
10+
import { filterOptions } from "../lib/fuzzy-match-utils";
1111
import getString from "../lib/get-string";
1212
import { Option } from "../lib/interfaces";
1313
import Cross from "./cross";
@@ -171,6 +171,7 @@ export const SelectPanel = (props: ISelectPanelProps) => {
171171
),
172172
filteredOptionsList.length !== 0,
173173
];
174+
// eslint-disable-next-line
174175
}, [searchText, value]);
175176

176177
return (

0 commit comments

Comments
 (0)