diff --git a/src/app/containers/SalesPage/index.tsx b/src/app/containers/SalesPage/index.tsx index 87cd42e83..9b0eff01e 100644 --- a/src/app/containers/SalesPage/index.tsx +++ b/src/app/containers/SalesPage/index.tsx @@ -8,7 +8,7 @@ import React, { useEffect } from 'react'; import 'styles/sass/_genesis-sale.scss'; import { Helmet } from 'react-helmet-async'; import { useTranslation } from 'react-i18next'; -import { useDispatch, useSelector } from 'react-redux'; +import { useDispatch } from 'react-redux'; import { translations } from '../../../locales/i18n'; import { Header } from '../../components/Header'; import { useAccount, useIsConnected } from '../../hooks/useAccount'; @@ -25,21 +25,11 @@ import { sliceKey as salesSlice, reducer as salesReducer, } from './slice'; -import { SaleInfoBar } from './SaleInfoBar'; import { salesPageSaga } from './saga'; import { AddSoToNifty } from './AddSoToNifty'; import { AddSoToMetamask } from './AddToMetamask'; -import { Icon } from '@blueprintjs/core/lib/esm/components/icon/icon'; -import { currentNetwork } from '../../../utils/classifiers'; import { StyledButton } from '../../components/SalesButton'; import GetAccess from './GetAccess'; -import Screen1 from './screen1'; -import Screen2 from './screen2'; -import Screen3 from './screen3'; -import Screen4 from './screen4'; -import Screen5 from './screen5'; -import Screen6 from './screen6'; -import { selectSalesPage } from './selectors'; function detectInjectableWallet() { if (window.ethereum?.isNiftyWallet) { @@ -108,8 +98,6 @@ export function SalesPage() { dispatch(actions.connectChannel()); }, [dispatch]); - const state = useSelector(selectSalesPage); - return (