File tree Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,10 @@ const StyledResult = styled(Result)`
2929
3030const TCRCardContent = ( {
3131 tcrAddress,
32- chainId,
3332 currentTCRAddress,
3433 ID ,
3534 hideDetailsButton
3635} ) => {
37- console . log ( {
38- tcrAddress,
39- currentTCRAddress,
40- ID ,
41- hideDetailsButton
42- } )
4336 const { library, active, networkId } = useWeb3Context ( )
4437 const [ error , setError ] = useState ( )
4538 const gtcr = useMemo ( ( ) => {
@@ -83,12 +76,12 @@ const TCRCardContent = ({
8376 </ StyledItemCol >
8477 < StyledItemCol >
8578 { ! hideDetailsButton && (
86- < Link to = { `/tcr/${ chainId } /${ currentTCRAddress } /${ ID } ` } >
79+ < Link to = { `/tcr/${ networkId } /${ currentTCRAddress } /${ ID } ` } >
8780 < Button > Details</ Button >
8881 </ Link >
8982 ) }
9083 < Link
91- to = { `/tcr/${ chainId } /${ tcrAddress } ` }
84+ to = { `/tcr/${ networkId } /${ tcrAddress } ` }
9285 style = { { marginLeft : '12px' } }
9386 >
9487 < Button type = "primary" > Open List</ Button >
@@ -130,12 +123,12 @@ const TCRCardContent = ({
130123 </ div >
131124 < StyledItemCol >
132125 { ! hideDetailsButton && (
133- < Link to = { `/tcr/${ chainId } /${ currentTCRAddress } /${ ID } ` } >
126+ < Link to = { `/tcr/${ networkId } /${ currentTCRAddress } /${ ID } ` } >
134127 < Button > Details</ Button >
135128 </ Link >
136129 ) }
137130 < Link
138- to = { `/tcr/${ chainId } /${ tcrAddress } ` }
131+ to = { `/tcr/${ networkId } /${ tcrAddress } ` }
139132 style = { { marginLeft : '12px' } }
140133 >
141134 < Button type = "primary" > Open List</ Button >
Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ const CardItemInfo = ({
134134 content = isTCRofTCRs ? (
135135 < TCRCardContent
136136 ID = { item . tcrData . ID }
137- chainId = { chainId }
138137 tcrAddress = { item . columns [ 0 ] . value }
139138 itemName = { itemName }
140139 currentTCRAddress = { tcrAddress }
Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ const CardItemInfo = ({
134134 content = isTCRofTCRs ? (
135135 < TCRCardContent
136136 ID = { item . tcrData . ID }
137- chainId = { chainId }
138137 tcrAddress = { item . columns [ 0 ] . value }
139138 itemName = { itemName }
140139 currentTCRAddress = { tcrAddress }
You can’t perform that action at this time.
0 commit comments