Skip to content

Commit

Permalink
🔖 v3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
harshzalavadiya committed Oct 6, 2020
1 parent 8f2a4d2 commit a7209b3
Show file tree
Hide file tree
Showing 3 changed files with 1,072 additions and 1,276 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-multi-select-component",
"version": "3.0.3",
"version": "3.0.4",
"description": "Simple and lightweight multiple selection dropdown component with checkboxes, search and select-all",
"author": "Harsh Zalavadiya",
"license": "MIT",
Expand Down Expand Up @@ -36,6 +36,7 @@
"@types/react": "^16.9.36",
"@types/react-dom": "^16.9.8",
"babel-loader": "^8.1.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"prettier": "^2.0.5",
"react": "^16.13.1",
Expand Down
5 changes: 3 additions & 2 deletions src/select-panel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
* Select-all item, and the list of options.
*/
import { css } from "goober";
import React, { useCallback, useEffect, useMemo, useState } from "react";
import React, { useCallback, useMemo, useState } from "react";

import { filterOptions } from "../lib/fuzzy-match-utils";
import { debounce } from "../lib/debounce";
import { filterOptions } from "../lib/fuzzy-match-utils";
import getString from "../lib/get-string";
import { Option } from "../lib/interfaces";
import Cross from "./cross";
Expand Down Expand Up @@ -171,6 +171,7 @@ export const SelectPanel = (props: ISelectPanelProps) => {
),
filteredOptionsList.length !== 0,
];
// eslint-disable-next-line
}, [searchText, value]);

return (
Expand Down
Loading

0 comments on commit a7209b3

Please sign in to comment.