diff --git a/client/src/app/bookings/layout.tsx b/client/src/app/bookings/layout.tsx
index ec33ac9a..1b0cc2dc 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 (
-
- {children}
-
+ {children}
)
diff --git a/client/src/components/generic/TabsComponent/TabsComponent.story.tsx b/client/src/components/generic/TabsComponent/TabsComponent.story.tsx
index abeca5b0..ff267219 100644
--- a/client/src/components/generic/TabsComponent/TabsComponent.story.tsx
+++ b/client/src/components/generic/TabsComponent/TabsComponent.story.tsx
@@ -1,6 +1,7 @@
import type { Meta } from "@storybook/react"
import TabsComponent from "./TabsComponent"
import { useState } from "react"
+import { Tab } from "@/components/generic/TabsComponent/TabsComponent"
const meta: Meta = {
component: TabsComponent,
@@ -27,8 +28,8 @@ const BookingSection = () => (
>
)
-const exampleHeadings = [
- { title: "LODGE BOOKINGS", content: , index: TabIndex.ONE },
+const exampleHeadings: Tab[] = [
+ { title: "LODGE BOOKINGS", content: , order: TabIndex.ONE },
{
title: "CANCELLATION",
content: (
@@ -39,9 +40,9 @@ const exampleHeadings = [
nesciunt perferendis.
),
- index: TabIndex.TWO
+ order: TabIndex.TWO
},
- { title: "BEHAVIOUR", content: Contents 3
, index: TabIndex.THREE }
+ { title: "BEHAVIOUR", content: Contents 3
, order: TabIndex.THREE }
]
export const DefaultStory = () => {