fix styles

This commit is contained in:
ian-jh 2019-07-17 10:18:17 -04:00
parent 6be569a2c6
commit 0bb6bdcd37
4 changed files with 5 additions and 9 deletions

@ -207,7 +207,7 @@ export default function CurrencyInputPanel({
showUnlock, showUnlock,
value value
}) { }) {
const { t } = useTranslation(); const { t } = useTranslation()
const [modalIsOpen, setModalIsOpen] = useState(false) const [modalIsOpen, setModalIsOpen] = useState(false)

@ -9,10 +9,10 @@ i18next
.use(initReactI18next) .use(initReactI18next)
.init({ .init({
backend: { backend: {
loadPath: '/locales/{{lng}}.json', loadPath: '/locales/{{lng}}.json'
}, },
react: { react: {
useSuspense: true, useSuspense: true
}, },
fallbackLng: 'en', fallbackLng: 'en',
preload: ['en'], preload: ['en'],

@ -10,7 +10,6 @@ import TokensContextProvider from './contexts/Tokens'
import BalancesContextProvider from './contexts/Balances' import BalancesContextProvider from './contexts/Balances'
import AllowancesContextProvider from './contexts/Allowances' import AllowancesContextProvider from './contexts/Allowances'
import App from './pages/App' import App from './pages/App'
import InjectedConnector from './InjectedConnector' import InjectedConnector from './InjectedConnector'
@ -34,9 +33,7 @@ function ContextProviders({ children }) {
<TransactionContextProvider> <TransactionContextProvider>
<TokensContextProvider> <TokensContextProvider>
<BalancesContextProvider> <BalancesContextProvider>
<AllowancesContextProvider> <AllowancesContextProvider>{children}</AllowancesContextProvider>
{children}
</AllowancesContextProvider>
</BalancesContextProvider> </BalancesContextProvider>
</TokensContextProvider> </TokensContextProvider>
</TransactionContextProvider> </TransactionContextProvider>

@ -83,7 +83,6 @@ export default function App() {
/> />
<Redirect to="/swap" /> <Redirect to="/swap" />
</Switch> </Switch>
</Suspense> </Suspense>
</BrowserRouter> </BrowserRouter>
</Web3ReactManager> </Web3ReactManager>