From ad26375b7d8a65d663c6f83ec71f2ce6c9480d04 Mon Sep 17 00:00:00 2001
From: Kartik-M24 <161120979+Kartik-M24@users.noreply.github.com>
Date: Tue, 1 Oct 2024 15:19:48 +1300
Subject: [PATCH] Fixed issue in TabsComponent.story.tsx and reset default
export on layoout.tsx
---
client/src/app/bookings/layout.tsx | 11 +++--------
.../generic/TabsComponent/TabsComponent.story.tsx | 9 +++++----
2 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/client/src/app/bookings/layout.tsx b/client/src/app/bookings/layout.tsx
index ec33ac9a1..1b0cc2dce 100644
--- a/client/src/app/bookings/layout.tsx
+++ b/client/src/app/bookings/layout.tsx
@@ -13,7 +13,7 @@ import queryClient from "@/services/QueryClient"
type IBookingLayout = Readonly<{
children: ReactNode
- policyInfoProps: ReactNode
+ // policyInfoProps: ReactNode
}>
const InnerBookingLayout = ({ children }: IBookingLayout) => {
@@ -54,16 +54,11 @@ const InnerBookingLayout = ({ children }: IBookingLayout) => {
)
}
-export default function BookingLayout({
- children,
- policyInfoProps
-}: IBookingLayout) {
+export default function BookingLayout({ children }: IBookingLayout) {
return (
Contents 3
, index: TabIndex.THREE } + { title: "BEHAVIOUR", content:Contents 3
, order: TabIndex.THREE } ] export const DefaultStory = () => {