Skip to content

Commit 1e1306c

Browse files
committed
Rename TONSpace to TONWallet and update references
1 parent 1e3bdfb commit 1e1306c

File tree

8 files changed

+14
-15
lines changed

8 files changed

+14
-15
lines changed

src/pages/prototypes/ColorAssetPage/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const fetchAssets = async () => {
2525
const assetsResource = fetchAssets()
2626

2727
function Banner({ name }) {
28-
const BannerText = `Currently, ${name} can only be purchased, held and sold within Wallet. It is not possible to transfer, receive or withdraw ${name} externally.`
28+
const BannerText = `Currently, ${name} can only be purchased, held and sold within Crypto Wallet. It is not possible to transfer, receive or withdraw ${name} externally.`
2929
return (
3030
<div className={styles.bannerContainer}>
3131
<Text

src/pages/prototypes/NewNavigation/components/PageContent/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import PropTypes from "prop-types"
22
import { motion, AnimatePresence } from "motion/react"
33
import * as styles from "./PageContent.module.scss"
44
import Wallet from "../../../Wallet"
5-
import TONSpace from "../../../TS"
5+
import TONWallet from "../../../TS"
66

77
export default function PageContent({ view }) {
88
let content
99
switch (view) {
1010
case "wallet":
1111
content = <Wallet />
1212
break
13-
case "tonspace":
14-
content = <TONSpace />
13+
case "tonwallet":
14+
content = <TONWallet />
1515
break
1616
default:
1717
content = <Wallet />

src/pages/prototypes/NewNavigation/hooks/useSegmentNavigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const useSegmentNavigation = () => {
1818
})
1919

2020
const handleSegmentChange = (index) => {
21-
const newView = index === 1 ? "tonspace" : "wallet"
21+
const newView = index === 1 ? "tonwallet" : "wallet"
2222

2323
setView(newView)
2424
setActiveSegment(index)

src/pages/prototypes/TS Skeleton/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Page from "../../../components/Page"
55
import "./index.css"
66
import WebApp from "@twa-dev/sdk"
77

8-
function TonSpaceSkeleton() {
8+
function TonWalletSkeleton() {
99
useEffect(() => {
1010
if (WebApp.initData) {
1111
WebApp.setHeaderColor("#131314")
@@ -23,4 +23,4 @@ function TonSpaceSkeleton() {
2323
)
2424
}
2525

26-
export default TonSpaceSkeleton
26+
export default TonWalletSkeleton

src/pages/prototypes/TS/components/FAQ/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import SectionList from "../../../../../components/SectionList"
33

44
export default function FAQ() {
55
const questions = [
6-
"What is Wallet Earn? How does it work?",
6+
"What is Crypto Wallet Earn? How does it work?",
77
"How are rewards assigned? Can I withdraw them early?",
8-
"Can I withdraw only a part of my USDT from Wallet Earn and continue to use it?",
8+
"Can I withdraw only a part of my USDT from Crypto Wallet Earn and continue to use it?",
99
]
1010

1111
return (

src/pages/prototypes/TS/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import Page from "../../../components/Page"
32
import SectionList from "../../../components/SectionList"
43

@@ -9,7 +8,7 @@ import Collectibles from "./components/Collectibles"
98
import Activity from "./components/Activity"
109
import FAQ from "./components/FAQ"
1110

12-
function TONSpace() {
11+
function TONWallet() {
1312
return (
1413
<Page headerColor="131314" backgroundColor="131314">
1514
<div className="ton-space">
@@ -26,4 +25,4 @@ function TONSpace() {
2625
)
2726
}
2827

29-
export default TONSpace
28+
export default TONWallet

src/pages/prototypes/TabBar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { BackButton } from "@twa-dev/sdk/react"
2727

2828
const tabs = [
2929
{
30-
label: "Wallet",
30+
label: "Crypto Wallet",
3131
path: "/tabbar/",
3232
icon: <WalletIcon />,
3333
view: <Wallet />,

src/router/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import PageTransition from "../components/PageTransition"
77

88
import UI from "../pages/UI"
99
import Wallet from "../pages/prototypes/Wallet"
10-
import TONSpace from "../pages/prototypes/TS"
10+
import TONWallet from "../pages/prototypes/TS"
1111
import Onboarding from "../pages/prototypes/Onboarding"
1212
import NewNavigation from "../pages/prototypes/NewNavigation"
1313
import ColorChanging from "../pages/prototypes/ColorChanging"
@@ -36,7 +36,7 @@ const Routes = () => (
3636
<Switch>
3737
<Route path="/" component={UI} />
3838
<Route path="/wallet" component={Wallet} />
39-
<Route path="/tonspace" component={TONSpace} />
39+
<Route path="/tonwallet" component={TONWallet} />
4040
<Route path="/onboarding" component={Onboarding} />
4141
<Route path="/newnavigation" component={NewNavigation} />
4242
<Route path="/colorchanging" component={ColorChanging} />

0 commit comments

Comments
 (0)