Skip to content

Commit

Permalink
test: add OakComponentsProvider to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
codeincontext committed Nov 15, 2024
1 parent 0484542 commit f39fa1d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/nextjs/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const preview: Preview = {
// - DemoProvider
// - LessonPlanTrackingProvider
// - DialogProvider
// - OakThemeProvider
// - SidebarProvider
// - ChatModerationProvider

Expand All @@ -45,9 +44,11 @@ export const decorators: Decorator[] = [
{/* TODO: Mock tRPC calls with MSW */}
<TRPCReactProvider>
<AnalyticsProvider>
<TooltipProvider>
<Story />
</TooltipProvider>
<OakThemeProvider theme={oakDefaultTheme}>
<TooltipProvider>
<Story />
</TooltipProvider>
</OakThemeProvider>
</AnalyticsProvider>
</TRPCReactProvider>
</>
Expand Down

0 comments on commit f39fa1d

Please sign in to comment.