Skip to content

Commit 0ffae8a

Browse files
yannikmesserligeakstr
authored andcommitted
Migrate blueprint MultiSelect2
1 parent 2e1d9b5 commit 0ffae8a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/TopBar/FlowsFilterInput.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Button, Classes, MenuItem } from '@blueprintjs/core';
2-
import { ItemRenderer, MultiSelect2 } from '@blueprintjs/select';
2+
import { ItemRenderer, MultiSelect } from '@blueprintjs/select';
33
import { trim } from 'lodash';
44
import React, { useCallback, useState } from 'react';
55

@@ -15,8 +15,6 @@ interface Props {
1515
onChange?: (filters: FilterEntry[]) => void;
1616
}
1717

18-
const FilterMultiSelect = MultiSelect2.ofType<FilterEntry | null>();
19-
2018
export const FlowsFilterInput = (props: Props) => {
2119
const [userInput, setUserInput] = useState<string>('');
2220

@@ -70,7 +68,7 @@ export const FlowsFilterInput = (props: Props) => {
7068
) : undefined;
7169

7270
return (
73-
<FilterMultiSelect
71+
<MultiSelect
7472
initialContent={null}
7573
className={css.container}
7674
query={userInput}

0 commit comments

Comments
 (0)