From e01de3c16d85894459b97650ba181d917bbddf93 Mon Sep 17 00:00:00 2001 From: Philippe Rolet Date: Thu, 30 Nov 2023 16:07:33 +0100 Subject: [PATCH] fix: appear=true only for transition not for child --- sparkle/package.json | 2 +- sparkle/src/components/Modal.tsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sparkle/package.json b/sparkle/package.json index 5feea59598676..8bf09a9052797 100644 --- a/sparkle/package.json +++ b/sparkle/package.json @@ -1,6 +1,6 @@ { "name": "@dust-tt/sparkle", - "version": "0.2.49", + "version": "0.2.48", "scripts": { "build": "rm -rf dist && rollup -c", "build:with-tw-base": "rollup -c --environment INCLUDE_TW_BASE:true", diff --git a/sparkle/src/components/Modal.tsx b/sparkle/src/components/Modal.tsx index 634a30646f384..abf3eb46b7ae6 100644 --- a/sparkle/src/components/Modal.tsx +++ b/sparkle/src/components/Modal.tsx @@ -125,7 +125,6 @@ export function Modal({ leave="s-ease-in s-duration-150" leaveFrom="s-opacity-100" leaveTo="s-opacity-0" - appear={true} >
@@ -140,7 +139,6 @@ export function Modal({ leave="s-ease-in s-duration-200" leaveFrom={transitionLeaveFrom} leaveTo={transitionLeaveTo} - appear={true} >