Skip to content

Commit

Permalink
fix story
Browse files Browse the repository at this point in the history
Signed-off-by: hemahg <[email protected]>
  • Loading branch information
hemahg committed Oct 16, 2024
1 parent 6d69e2b commit 4cf0524
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ui/components/ClusterOverview/ClusterCard.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
import type { Meta, StoryObj } from "@storybook/react";

import { ClusterCard } from "./ClusterCard";
import { ReconciliationContext } from "../ReconciliationContext";

const meta: Meta<typeof ClusterCard> = {
component: ClusterCard,
decorators: [
(Story) => (
<ReconciliationContext.Provider
value={{
isReconciliationPaused: true,
setReconciliationPaused: () => { }
}}
>
<Story />
</ReconciliationContext.Provider>
)
]
};

export default meta;
Expand Down

0 comments on commit 4cf0524

Please sign in to comment.