File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
components/FindWallet/WalletTable Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -208,13 +208,15 @@ export type WalletTableProps = {
208
208
resetFilters : ( ) => void
209
209
resetWalletFilter : React . MutableRefObject < ( ) => void >
210
210
walletData : WalletData [ ]
211
+ onOpen : ( ) => void
211
212
}
212
213
213
214
const WalletTable = ( {
214
215
filters,
215
216
resetFilters,
216
217
resetWalletFilter,
217
218
walletData,
219
+ onOpen,
218
220
} : WalletTableProps ) => {
219
221
const { t } = useTranslation ( "page-wallets-find-wallet" )
220
222
const { locale } = useRouter ( )
@@ -233,12 +235,16 @@ const WalletTable = ({
233
235
< WalletContentHeader >
234
236
< Th sx = { { textAlign : "start !important" } } >
235
237
< Flex justifyContent = "space-between" px = { { base : 2.5 , md : 0 } } >
238
+ { /* Displayed on mobile only */ }
236
239
< Text
237
240
hideFrom = "lg"
238
241
lineHeight = { 1.6 }
239
242
fontSize = "md"
240
243
color = "primary.base"
241
244
textTransform = "uppercase"
245
+ cursor = "pointer"
246
+ onClick = { onOpen }
247
+ as = "button"
242
248
>
243
249
{ `${ t ( "page-find-wallet-filters" ) } (${
244
250
walletsListingCount ( filters ) +
Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ const FindWalletPage = () => {
239
239
resetFilters = { resetFilters }
240
240
resetWalletFilter = { resetWalletFilter }
241
241
walletData = { randomizedWalletData }
242
+ onOpen = { onOpen }
242
243
/>
243
244
</ Box >
244
245
</ Flex >
You can’t perform that action at this time.
0 commit comments