From b45b511a813a59dd5ba02497a64c59cc509077c1 Mon Sep 17 00:00:00 2001 From: joao lopes Date: Sat, 29 Jul 2023 17:28:08 -0300 Subject: [PATCH] fix (#1652): resolve error trim for data object in AutoComplete component --- src/autocomplete/src/Autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autocomplete/src/Autocomplete.js b/src/autocomplete/src/Autocomplete.js index ef4ff6575..dfc95c00b 100644 --- a/src/autocomplete/src/Autocomplete.js +++ b/src/autocomplete/src/Autocomplete.js @@ -2,7 +2,7 @@ import React, { memo, forwardRef, useState, useEffect, useCallback } from 'react import VirtualList from '@segment/react-tiny-virtual-list' import Downshift from 'downshift' import fuzzaldrin from 'fuzzaldrin-plus' -import PropTypes, { string } from 'prop-types' +import PropTypes from 'prop-types' import { Position } from '../../constants' import { Pane } from '../../layers' import { Popover } from '../../popover'