diff --git a/src/components/CurrencyInputPanel/index.js b/src/components/CurrencyInputPanel/index.js index 4bad35d3d1..b3147869a5 100644 --- a/src/components/CurrencyInputPanel/index.js +++ b/src/components/CurrencyInputPanel/index.js @@ -207,7 +207,7 @@ export default function CurrencyInputPanel({ showUnlock, value }) { - const { t } = useTranslation(); + const { t } = useTranslation() const [modalIsOpen, setModalIsOpen] = useState(false) diff --git a/src/i18n.js b/src/i18n.js index 51b5b83a4f..4ab8376030 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -9,10 +9,10 @@ i18next .use(initReactI18next) .init({ backend: { - loadPath: '/locales/{{lng}}.json', + loadPath: '/locales/{{lng}}.json' }, react: { - useSuspense: true, + useSuspense: true }, fallbackLng: 'en', preload: ['en'], diff --git a/src/index.js b/src/index.js index 552e86affe..04b4a122a2 100644 --- a/src/index.js +++ b/src/index.js @@ -10,7 +10,6 @@ import TokensContextProvider from './contexts/Tokens' import BalancesContextProvider from './contexts/Balances' import AllowancesContextProvider from './contexts/Allowances' - import App from './pages/App' import InjectedConnector from './InjectedConnector' @@ -34,9 +33,7 @@ function ContextProviders({ children }) { - - {children} - + {children} @@ -60,7 +57,7 @@ ReactDOM.render( - + diff --git a/src/pages/App.js b/src/pages/App.js index f81d4c7d61..bc4ba97e1a 100644 --- a/src/pages/App.js +++ b/src/pages/App.js @@ -83,7 +83,6 @@ export default function App() { /> -