diff --git a/apps/trading/pages/_app.page.tsx b/apps/trading/pages/_app.page.tsx index 3c59855d9..d5b1a8668 100644 --- a/apps/trading/pages/_app.page.tsx +++ b/apps/trading/pages/_app.page.tsx @@ -10,7 +10,7 @@ import { ThemeSwitcher } from '@vegaprotocol/ui-toolkit'; import { ApolloProvider } from '@apollo/client'; import { AppLoader } from '../components/app-loader'; import { VegaWalletButton } from '../components/vega-wallet-connect-button'; -import { useThemeSwitcher } from '../hooks/use-theme-switcher'; +import { useThemeSwitcher } from '@vegaprotocol/react-helpers'; import './styles.css'; diff --git a/libs/react-helpers/src/index.ts b/libs/react-helpers/src/index.ts index 17009c30a..189328d48 100644 --- a/libs/react-helpers/src/index.ts +++ b/libs/react-helpers/src/index.ts @@ -6,3 +6,4 @@ export * from './lib/grid-cells'; export * from './lib/storage'; export * from './hooks/use-apply-grid-transaction'; +export * from './hooks/use-theme-switcher';