File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export type StakeDetails = ReturnType<
83
83
> ;
84
84
85
85
export enum AccountHistoryItemType {
86
- Deposit ,
86
+ AddTokens ,
87
87
LockedDeposit ,
88
88
Withdrawal ,
89
89
RewardsCredited ,
@@ -97,7 +97,7 @@ export enum AccountHistoryItemType {
97
97
}
98
98
99
99
const AccountHistoryAction = {
100
- Deposit : ( ) => ( { type : AccountHistoryItemType . Deposit as const } ) ,
100
+ AddTokens : ( ) => ( { type : AccountHistoryItemType . AddTokens as const } ) ,
101
101
LockedDeposit : ( unlockDate : Date ) => ( {
102
102
type : AccountHistoryItemType . LockedDeposit as const ,
103
103
unlockDate,
@@ -506,7 +506,7 @@ const MOCK_DATA: Record<string, Data> = {
506
506
const mkMockHistory = ( ) : AccountHistory => [
507
507
{
508
508
timestamp : new Date ( "2024-06-10T00:00:00Z" ) ,
509
- action : AccountHistoryAction . Deposit ( ) ,
509
+ action : AccountHistoryAction . AddTokens ( ) ,
510
510
amount : 2_000_000n ,
511
511
accountTotal : 2_000_000n ,
512
512
availableRewards : 0n ,
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ const mkDescription = (action: AccountHistoryAction): string => {
87
87
case AccountHistoryItemType . Claim : {
88
88
return "Rewards claimed" ;
89
89
}
90
- case AccountHistoryItemType . Deposit : {
91
- return "Tokens deposited " ;
90
+ case AccountHistoryItemType . AddTokens : {
91
+ return "Tokens added " ;
92
92
}
93
93
case AccountHistoryItemType . LockedDeposit : {
94
94
return `Locked tokens deposited, unlocking ${ action . unlockDate . toLocaleString ( ) } ` ;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export const AccountSummary = ({
68
68
< div className = "mt-8 flex flex-row items-center gap-4" >
69
69
< TransferButton
70
70
actionDescription = "Add funds to your balance"
71
- actionName = "Deposit "
71
+ actionName = "Add Tokens "
72
72
max = { walletAmount }
73
73
transfer = { deposit }
74
74
/>
You can’t perform that action at this time.
0 commit comments