File tree Expand file tree Collapse file tree 3 files changed +4
-27
lines changed Expand file tree Collapse file tree 3 files changed +4
-27
lines changed Original file line number Diff line number Diff line change 1
1
import { createContext } from "react"
2
2
3
- import { WalletSupportedLanguageContext } from "@/lib/types"
3
+ import { WalletSupportedLanguageContextType } from "@/lib/types"
4
4
5
5
import { DEFAULT_LOCALE } from "@/lib/constants"
6
6
7
7
// Context API for /find-wallets language support filter
8
8
export const WalletSupportedLanguageContext =
9
- createContext < WalletSupportedLanguageContext > ( {
9
+ createContext < WalletSupportedLanguageContextType > ( {
10
10
supportedLanguage : DEFAULT_LOCALE ,
11
11
setSupportedLanguage : ( ) => { } ,
12
12
} )
Original file line number Diff line number Diff line change @@ -608,7 +608,7 @@ export interface DropdownOption {
608
608
category : string
609
609
}
610
610
611
- export type WalletSupportedLanguageContext = {
611
+ export type WalletSupportedLanguageContextType = {
612
612
supportedLanguage : string
613
613
setSupportedLanguage : ( language : string ) => void
614
614
}
Original file line number Diff line number Diff line change @@ -232,30 +232,7 @@ const FindWalletPage = () => {
232
232
/>
233
233
234
234
{ /* Wallets table */ }
235
- < Box
236
- mt = { 0.5 }
237
- w = "full"
238
- sx = { {
239
- scrollbarWidth : "thin" ,
240
- scrollbarColor : `${ theme . colors . lightBorder } ${ theme . colors . background } ` ,
241
-
242
- "::-webkit-scrollbar" : {
243
- width : 2 ,
244
- } ,
245
- "::-webkit-scrollbar-track" : {
246
- bg : "background.base" ,
247
- } ,
248
- "::-webkit-scrollbar-thumb" : {
249
- bgColor : "lightBorder" ,
250
- borderRadius : "base" ,
251
- border : "2px solid" ,
252
- borderColor : "background.base" ,
253
- } ,
254
- table : {
255
- m : 0 ,
256
- } ,
257
- } }
258
- >
235
+ < Box mt = { 0.5 } w = "full" >
259
236
< WalletTable
260
237
filters = { filters }
261
238
resetFilters = { resetFilters }
You can’t perform that action at this time.
0 commit comments