Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
0bb6bdcd
Commit
0bb6bdcd
authored
Jul 17, 2019
by
ian-jh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix styles
parent
6be569a2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
9 deletions
+5
-9
index.js
src/components/CurrencyInputPanel/index.js
+1
-1
i18n.js
src/i18n.js
+2
-2
index.js
src/index.js
+2
-5
App.js
src/pages/App.js
+0
-1
No files found.
src/components/CurrencyInputPanel/index.js
View file @
0bb6bdcd
...
@@ -207,7 +207,7 @@ export default function CurrencyInputPanel({
...
@@ -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
)
...
...
src/i18n.js
View file @
0bb6bdcd
...
@@ -9,10 +9,10 @@ i18next
...
@@ -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
'
],
...
...
src/index.js
View file @
0bb6bdcd
...
@@ -10,7 +10,6 @@ import TokensContextProvider from './contexts/Tokens'
...
@@ -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 }) {
...
@@ -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(
...
@@ -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
>
<
/
>
<
/
>
...
...
src/pages/App.js
View file @
0bb6bdcd
...
@@ -83,7 +83,6 @@ export default function App() {
...
@@ -83,7 +83,6 @@ export default function App() {
/
>
/
>
<
Redirect
to
=
"
/swap
"
/>
<
Redirect
to
=
"
/swap
"
/>
<
/Switch
>
<
/Switch
>
<
/Suspense
>
<
/Suspense
>
<
/BrowserRouter
>
<
/BrowserRouter
>
<
/Web3ReactManager
>
<
/Web3ReactManager
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment