From 06431796390cafa92acb6902aa5d420a04f1591c Mon Sep 17 00:00:00 2001 From: SerhiiTsybulskyi Date: Tue, 14 May 2024 13:41:11 +0300 Subject: [PATCH] remove unnecessary dependency lodash/range --- src/form/Select/SingleSelect.story.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/form/Select/SingleSelect.story.tsx b/src/form/Select/SingleSelect.story.tsx index d599a3fa..6af5e804 100644 --- a/src/form/Select/SingleSelect.story.tsx +++ b/src/form/Select/SingleSelect.story.tsx @@ -1,8 +1,7 @@ -import React, { Fragment, useEffect, useState } from 'react'; +import { Fragment, useEffect, useState } from 'react'; import { Select } from './Select'; import { SelectOption } from './SelectOption'; import { SelectMenu } from './SelectMenu'; -import range from 'lodash/range'; import { SelectInput, SelectInputChip } from './SelectInput'; export default { @@ -77,7 +76,7 @@ export const NoOptions = () => ( export const ManyOptions = () => { const [value, setValue] = useState(null); - const options = range(0, 300); + const options = [...Array(300).keys()]; return (