Skip to content

Commit

Permalink
fix: Modify isHidden style in CanvasUI
Browse files Browse the repository at this point in the history
  • Loading branch information
rhino-ty committed Nov 28, 2024
1 parent 7f50502 commit b0cfa24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/canvas/CanvasUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const Canvas = forwardRef<HTMLDivElement, CanvasProps>(
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}
Expand Down

0 comments on commit b0cfa24

Please sign in to comment.