Skip to content

Commit

Permalink
Revert "Add cardano ssn (#730)" (#732)
Browse files Browse the repository at this point in the history
This reverts commit 5c5006a.
  • Loading branch information
chetan-zilliqa authored Sep 26, 2024
1 parent a7efcf1 commit 32f3039
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions products/zillion/src/components/ssn-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,6 @@ function SsnTable(props: any) {
status: "BELOW MIN.STAKE"
};

const cardanoSSN: SsnStats = {
address: "Coming soon",
name: "Cardano SSN",
apiUrl: "Coming soon",
stakeAmt: "0",
bufferedDeposits: "0",
commRate: "4",
commReward: "0",
delegNum: "0",
status: "BELOW MIN.STAKE"
};

ssnList = [...ssnList, googleSSN];
const handleStake = (name: string, address: string, commRate: string) => {
// set dashboard state variable
Expand All @@ -142,11 +130,7 @@ function SsnTable(props: any) {

var array = [...ssnList];

array = array.sort((a, b) => parseInt(b.stakeAmt) - parseInt(a.stakeAmt));

array.unshift(cardanoSSN);


array= array.sort((a, b) => parseInt(b.stakeAmt) - parseInt(a.stakeAmt));

const columns = useMemo(
() => [
Expand Down

0 comments on commit 32f3039

Please sign in to comment.