From 0745ce22cb9f26190d98c854f10e916ae1b90e92 Mon Sep 17 00:00:00 2001 From: v1rtl Date: Tue, 27 Aug 2024 16:02:35 +0300 Subject: [PATCH] fix more tests --- .../src/components/atoms/DynamicPopover/DynamicPopover.tsx | 2 +- components/src/components/molecules/Select/Select.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/src/components/atoms/DynamicPopover/DynamicPopover.tsx b/components/src/components/atoms/DynamicPopover/DynamicPopover.tsx index ffa3f376..77baf442 100644 --- a/components/src/components/atoms/DynamicPopover/DynamicPopover.tsx +++ b/components/src/components/atoms/DynamicPopover/DynamicPopover.tsx @@ -218,7 +218,7 @@ export const DynamicPopover = ({ const isControlled = isOpen !== undefined - const [{ status: state }, toggle] = useTransition({ + const [state, toggle] = useTransition({ preEnter: true, exit: true, mountOnEnter: true, diff --git a/components/src/components/molecules/Select/Select.tsx b/components/src/components/molecules/Select/Select.tsx index a63ecc42..fbaa3b62 100644 --- a/components/src/components/molecules/Select/Select.tsx +++ b/components/src/components/molecules/Select/Select.tsx @@ -675,7 +675,7 @@ export const Select = React.forwardRef( maxInputSize, ) - const [{ status: state }, toggle] = useTransition({ + const [state, toggle] = useTransition({ timeout: { enter: 0, exit: 300,