From 8cf150d3a41a0c479afe0b96ac52e8d80a865a5f Mon Sep 17 00:00:00 2001 From: Chetan Phirke Date: Thu, 26 Sep 2024 20:28:56 +0800 Subject: [PATCH] Revert "Add cardano ssn (#730)" This reverts commit 5c5006ac82d0ce7fe4ccff699bdc2546140d858a. --- products/zillion/src/components/ssn-table.tsx | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/products/zillion/src/components/ssn-table.tsx b/products/zillion/src/components/ssn-table.tsx index d0df7dc8c..e993ecd48 100644 --- a/products/zillion/src/components/ssn-table.tsx +++ b/products/zillion/src/components/ssn-table.tsx @@ -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 @@ -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( () => [