From 73fdfefdb36e0d80837b0bd739822836908d4e0a Mon Sep 17 00:00:00 2001 From: Akalanka Perera Date: Thu, 5 Dec 2024 12:45:50 +0530 Subject: [PATCH] Fix: issue in seat icon visibility and removed a few unwanted types --- src/components/workspace/elements/seat.tsx | 2 +- src/stories/designer/basic.stories.tsx | 13 ------------- src/stories/options.ts | 5 ----- src/styles/index.css | 2 +- src/types/index.ts | 1 - src/types/styles.ts | 9 --------- 6 files changed, 2 insertions(+), 30 deletions(-) diff --git a/src/components/workspace/elements/seat.tsx b/src/components/workspace/elements/seat.tsx index 2548b16..7a3e8bc 100644 --- a/src/components/workspace/elements/seat.tsx +++ b/src/components/workspace/elements/seat.tsx @@ -152,7 +152,7 @@ const Seat: React.FC = forwardRef( width={seatSize * 0.75} height={seatSize * 0.75} size={seatSize * 0.75} - className={consumer.styles?.elements?.seat?.icon?.className} + className={twMerge(consumer.styles?.elements?.seat?.icon?.className, "stk-seat-icon")} style={consumer.styles?.elements?.seat?.icon?.properties} /> )} diff --git a/src/stories/designer/basic.stories.tsx b/src/stories/designer/basic.stories.tsx index 6a2fce9..21d27c3 100644 --- a/src/stories/designer/basic.stories.tsx +++ b/src/stories/designer/basic.stories.tsx @@ -13,19 +13,6 @@ export const Story = { render: (props) => }; -export const WithoutFooter = { - render: (props) => ( - - ) -}; - export const WithReloadButton = { render: (props) => (