File tree 5 files changed +1
-25
lines changed
5 files changed +1
-25
lines changed Original file line number Diff line number Diff line change 52
52
"easy-mesh-gradient" : " 0.0.5" ,
53
53
"i18next" : " ^23.16.0" ,
54
54
"i18next-browser-languagedetector" : " ^8.0.0" ,
55
- "i18next-http-backend" : " ^2.6.2" ,
56
55
"immer" : " 10.1.1" ,
57
56
"js-beautify" : " 1.15.1" ,
58
57
"lucide-react" : " 0.417.0" ,
Original file line number Diff line number Diff line change 1
1
import i18next from "i18next"
2
2
import LanguageDetector from "i18next-browser-languagedetector"
3
- import Backend from "i18next-http-backend"
4
3
import { initReactI18next } from "react-i18next"
5
4
import ns1 from "./locales/en/en.json"
6
5
import ns3 from "./locales/es/es.json"
@@ -20,7 +19,6 @@ const resources = {
20
19
21
20
i18next
22
21
. use ( initReactI18next )
23
- . use ( Backend )
24
22
. use ( LanguageDetector )
25
23
. init ( {
26
24
debug : true ,
Original file line number Diff line number Diff line change @@ -60,24 +60,4 @@ export const LanguageView = ({ onCloseClicked }: LanguageViewProps) => {
60
60
</ SettingsPageLayout >
61
61
</ AppLayout >
62
62
)
63
- }
64
-
65
- /* {Languages.map((language) => {
66
- const active = language === selected
67
- return (
68
- <button
69
- key={language}
70
- type="button"
71
- className={clsx(
72
- "w-full pl-6 pr-4 py-4 flex items-center justify-between rounded-2xl hover:bg-secondary",
73
- active && "bg-secondary",
74
- )}
75
- onClick={() => setSelected(language)}
76
- >
77
- <p>{language}</p>
78
- {active && (
79
- <Check width={24} height={24} className="text-[#F6C177]" />
80
- )}
81
- </button>
82
- )
83
- }) } */
63
+ }
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { useTranslation } from "react-i18next"
6
6
import { Link } from "react-router-dom"
7
7
8
8
const Links = [
9
- // TODO: Uncomment when we add multi-account
10
9
// {
11
10
// label: "Wallet",
12
11
// description: "Management and networks",
You can’t perform that action at this time.
0 commit comments