diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 5d1e47d383..0e14c403cb 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -24,17 +24,9 @@ import '../packages/bpk-stylesheets/font'; import '../packages/bpk-stylesheets/larken'; import BpkRtlToggle from '../packages/bpk-component-rtl-toggle'; -import BpkThemeToggle, { - updateOnThemeChange, -} from '../packages/bpk-component-theme-toggle'; -import BpkThemeProvider from '../packages/bpk-theming'; - -import themeableAttributes from './themeableAttributes'; import type { Preview } from '@storybook/react'; -const EnhancedThemeProvider = updateOnThemeChange(BpkThemeProvider); - const preview: Preview = { decorators: [ (story, { args }) => { @@ -52,15 +44,9 @@ const preview: Preview = { } return (