Fix: itemsListField

This commit is contained in:
elforjani3
2020-10-27 22:53:50 +02:00
parent 571716e82b
commit 6e64b5e04a
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import React, { useCallback, useMemo } from 'react';
import ItemListField from 'components/ItemListField';
import ItemsListField from 'components/ItemsListField';
import classNames from 'classnames';
import { FormGroup, Classes, Intent } from '@blueprintjs/core';
@@ -24,7 +24,7 @@ function ItemsListCell({
intent={error ? Intent.DANGER : null}
className={classNames('form-group--select-list', Classes.FILL)}
>
<ItemListField
<ItemsListField
items={items}
onItemSelected={handleItemSelected}
selectedItemId={initialValue}