@@ -13,12 +13,8 @@ import {
13
13
SimpleGrid ,
14
14
SimpleGridProps ,
15
15
Stack ,
16
- Table ,
17
16
TableProps ,
18
- Td ,
19
17
Text ,
20
- Th ,
21
- Tr ,
22
18
} from "@chakra-ui/react"
23
19
24
20
import { ChildOnlyProp , WalletData , WalletFilter } from "@/lib/types"
@@ -50,7 +46,7 @@ import { WalletSupportedLanguageContext } from "@/contexts/WalletSupportedLangua
50
46
import { useWalletTable } from "@/hooks/useWalletTable"
51
47
52
48
const Container = ( props : TableProps ) => (
53
- < Table
49
+ < Box
54
50
w = "full"
55
51
sx = { {
56
52
th : {
@@ -75,7 +71,6 @@ const WalletContainer = (props: ChildOnlyProp & ContainerProps) => (
75
71
76
72
const Grid = forwardRef < SimpleGridProps , "tr" > ( ( props , ref ) => (
77
73
< SimpleGrid
78
- as = { Tr }
79
74
ref = { ref }
80
75
templateColumns = { {
81
76
base : "60% auto 0% 0% 5%" ,
@@ -243,7 +238,7 @@ const WalletTable = ({
243
238
return (
244
239
< Container >
245
240
< WalletContentHeader >
246
- < Th sx = { { textAlign : "start !important" } } >
241
+ < Box sx = { { textAlign : "start !important" } } >
247
242
< Flex justifyContent = "space-between" px = { { base : 2.5 , md : 0 } } >
248
243
{ /* Displayed on mobile only */ }
249
244
< Text
@@ -277,7 +272,7 @@ const WalletTable = ({
277
272
</ Text >
278
273
) }
279
274
</ Flex >
280
- </ Th >
275
+ </ Box >
281
276
</ WalletContentHeader >
282
277
{ filteredWallets . length === 0 && (
283
278
< WalletEmptyState
@@ -346,7 +341,7 @@ const WalletTable = ({
346
341
showMoreInfo ( wallet )
347
342
} }
348
343
>
349
- < Td lineHeight = "revert" >
344
+ < Box lineHeight = "revert" >
350
345
< Flex
351
346
justifyContent = "space-between"
352
347
alignItems = "center"
@@ -478,7 +473,7 @@ const WalletTable = ({
478
473
{ t ( "page-find-wallet-visit-website" ) }
479
474
</ ButtonLink >
480
475
</ Box >
481
- </ Td >
476
+ </ Box >
482
477
</ Wallet >
483
478
484
479
{ wallet . moreInfo && (
0 commit comments