From 5345e7177301274d46706c5d8c048dbe7b6e102f Mon Sep 17 00:00:00 2001 From: sidorko <kirill.sidorko@ya.ru> Date: Wed, 18 Oct 2023 21:51:53 +0300 Subject: [PATCH] fix type --- src/components/Select/__stories__/constants.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Select/__stories__/constants.ts b/src/components/Select/__stories__/constants.ts index 91e5300f70..78784e2d05 100644 --- a/src/components/Select/__stories__/constants.ts +++ b/src/components/Select/__stories__/constants.ts @@ -160,12 +160,12 @@ export const EXAMPLE_USER_CONTROL = `const [value, setValue] = React.useState<st })} </Button> ); - }}, - onUpdate={(nextValue) => setValue1(nextValue)} + }} + onUpdate={(nextValue) => setValue(nextValue)} > <Select.Option value="val1" content="Value1" /> <Select.Option value="val2" content="Value2" /> - <Select.Option value="val3" content="\\" /> + <Select.Option value="val3" content="Value3" /> <Select.Option value="val4" content="Value4" /> </Select> `;