fix styles
This commit is contained in:
parent
6be569a2c6
commit
0bb6bdcd37
@ -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>
|
||||||
@ -60,7 +57,7 @@ ReactDOM.render(
|
|||||||
<Web3Provider connectors={connectors} libraryName="ethers.js">
|
<Web3Provider connectors={connectors} libraryName="ethers.js">
|
||||||
<ContextProviders>
|
<ContextProviders>
|
||||||
<Updaters />
|
<Updaters />
|
||||||
<App />
|
<App />
|
||||||
</ContextProviders>
|
</ContextProviders>
|
||||||
</Web3Provider>
|
</Web3Provider>
|
||||||
</>
|
</>
|
||||||
|
@ -83,7 +83,6 @@ export default function App() {
|
|||||||
/>
|
/>
|
||||||
<Redirect to="/swap" />
|
<Redirect to="/swap" />
|
||||||
</Switch>
|
</Switch>
|
||||||
|
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</BrowserRouter>
|
</BrowserRouter>
|
||||||
</Web3ReactManager>
|
</Web3ReactManager>
|
||||||
|
Loading…
Reference in New Issue
Block a user