From 721e9dfb7d7e2a06b167d927fb83f789e88313db Mon Sep 17 00:00:00 2001 From: Aaron Shafovaloff Date: Wed, 11 Oct 2023 17:43:13 -0600 Subject: [PATCH] remove double mount/unmount in ui-tray --- packages/ui-tray/src/Tray/index.tsx | 34 +++++++++++++---------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/packages/ui-tray/src/Tray/index.tsx b/packages/ui-tray/src/Tray/index.tsx index 8a3b61960b..f2a72df9e5 100644 --- a/packages/ui-tray/src/Tray/index.tsx +++ b/packages/ui-tray/src/Tray/index.tsx @@ -201,25 +201,21 @@ class Tray extends Component { css={this.props.styles?.tray} ref={contentRef} > - {this.state.transitioning ? ( - children - ) : ( - -
{children}
-
- )} + +
{children}
+
)}