Moved the theme switcher hook into a shared lib

This commit is contained in:
sam-keen 2022-03-25 16:45:12 +00:00
parent fe12b45039
commit e308a923c2
2 changed files with 2 additions and 1 deletions

View File

@ -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';

View File

@ -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';