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
9916c84e
Unverified
Commit
9916c84e
authored
May 20, 2020
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix i18n loading, manifest.json loading
parent
462f2482
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
8 deletions
+7
-8
manifest.json
public/manifest.json
+2
-4
index.tsx
src/components/WalletModal/index.tsx
+1
-1
index.tsx
src/components/Web3Status/index.tsx
+1
-1
i18n.ts
src/i18n.ts
+3
-1
index.tsx
src/index.tsx
+0
-1
No files found.
public/manifest.json
View file @
9916c84e
...
...
@@ -3,20 +3,18 @@
"name"
:
"Uniswap"
,
"icons"
:
[
{
"src"
:
"/images/192x192_App_Icon.png"
,
"src"
:
"
.
/images/192x192_App_Icon.png"
,
"sizes"
:
"192x192"
,
"type"
:
"image/png"
,
"purpose"
:
"any maskable"
},
{
"src"
:
"/images/512x512_App_Icon.png"
,
"src"
:
"
.
/images/512x512_App_Icon.png"
,
"sizes"
:
"512x512"
,
"type"
:
"image/png"
,
"purpose"
:
"any maskable"
}
],
"start_url"
:
"/"
,
"scope"
:
"/"
,
"orientation"
:
"portrait"
,
"display"
:
"standalone"
,
"theme_color"
:
"#ff007a"
,
...
...
src/components/WalletModal/index.tsx
View file @
9916c84e
...
...
@@ -339,7 +339,7 @@ export default function WalletModal({
</
HeaderRow
>
)
:
(
<
HeaderRow
>
<
HoverText
>
Connect
To A W
allet
</
HoverText
>
<
HoverText
>
Connect
to a w
allet
</
HoverText
>
</
HeaderRow
>
)
}
<
ContentWrapper
>
...
...
src/components/Web3Status/index.tsx
View file @
9916c84e
...
...
@@ -207,7 +207,7 @@ export default function Web3Status() {
}
else
{
return
(
<
Web3StatusConnect
id=
"connect-wallet"
onClick=
{
toggleWalletModal
}
faded=
{
!
account
}
>
<
Text
>
{
t
(
'
Connect to a
W
allet
'
)
}
</
Text
>
<
Text
>
{
t
(
'
Connect to a
w
allet
'
)
}
</
Text
>
</
Web3StatusConnect
>
)
}
...
...
src/i18n.ts
View file @
9916c84e
...
...
@@ -3,13 +3,15 @@ import { initReactI18next } from 'react-i18next'
import
XHR
from
'
i18next-xhr-backend
'
import
LanguageDetector
from
'
i18next-browser-languagedetector
'
const
LOAD_PATH
:
string
=
process
.
env
.
PUBLIC_URL
===
'
.
'
?
`./locales/{{lng}}.json`
:
'
/locales/{{lng}}.json
'
i18next
.
use
(
XHR
)
.
use
(
LanguageDetector
)
.
use
(
initReactI18next
)
.
init
({
backend
:
{
loadPath
:
'
/locales/{{lng}}.json
'
loadPath
:
LOAD_PATH
},
react
:
{
useSuspense
:
true
...
...
src/index.tsx
View file @
9916c84e
...
...
@@ -5,7 +5,6 @@ import { isMobile } from 'react-device-detect'
import
ReactDOM
from
'
react-dom
'
import
ReactGA
from
'
react-ga
'
import
{
Provider
}
from
'
react-redux
'
import
{
NetworkContextName
}
from
'
./constants
'
import
'
./i18n
'
import
App
from
'
./pages/App
'
...
...
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