File tree 1 file changed +16
-1
lines changed
products/zillion/src/components
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,25 @@ function SsnTable(props: any) {
98
98
const dispatch = useAppDispatch ( ) ;
99
99
const role = useAppSelector ( state => state . user . role ) ;
100
100
const loading : OperationStatus = useAppSelector ( state => state . staking . is_ssn_stats_loading ) ;
101
- const ssnList : SsnStats [ ] = useAppSelector ( state => state . staking . ssn_list ) ;
101
+ let ssnList : SsnStats [ ] = useAppSelector ( state => state . staking . ssn_list ) ;
102
102
const showStakeBtn = props . showStakeBtn ? props . showStakeBtn : false ; // for deleg
103
103
const totalStakeAmt = computeTotalStakeAmt ( ssnList ) ;
104
104
105
+
106
+
107
+ const googleSSN : SsnStats = {
108
+ address : "a57801697a2fcef80494928709ff9c69de832ee5" ,
109
+ name : "Google Cloud" ,
110
+ apiUrl : "https://api.google.ssn.zilliqa.com" ,
111
+ stakeAmt : "0" ,
112
+ bufferedDeposits : "0" ,
113
+ commRate : "4" ,
114
+ commReward : "0" ,
115
+ delegNum : "0" ,
116
+ status : "BELOW MIN.STAKE"
117
+ } ;
118
+
119
+ ssnList = [ ...ssnList , googleSSN ] ;
105
120
const handleStake = ( name : string , address : string , commRate : string ) => {
106
121
// set dashboard state variable
107
122
dispatch ( UPDATE_STAKE_MODAL_DATA ( {
You can’t perform that action at this time.
0 commit comments