From b0cfa240527f3e4e6a34f34dc21df02cc0818bdc Mon Sep 17 00:00:00 2001 From: rhino-ty Date: Fri, 29 Nov 2024 00:08:42 +0900 Subject: [PATCH] fix: Modify isHidden style in CanvasUI --- client/src/components/canvas/CanvasUI.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/canvas/CanvasUI.tsx b/client/src/components/canvas/CanvasUI.tsx index 7b29b121..3647e8c0 100644 --- a/client/src/components/canvas/CanvasUI.tsx +++ b/client/src/components/canvas/CanvasUI.tsx @@ -127,7 +127,7 @@ const Canvas = forwardRef( className={cn( 'relative flex w-full max-w-screen-sm flex-col border-violet-500 bg-white', 'sm:rounded-lg sm:border-4 sm:shadow-xl', - !isHidden && 'hidden', + isHidden && 'hidden', className, )} {...props}