Skip to content

Commit 4b441ab

Browse files
committed
fix: typings
1 parent c6d3def commit 4b441ab

File tree

3 files changed

+4
-27
lines changed

3 files changed

+4
-27
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { createContext } from "react"
22

3-
import { WalletSupportedLanguageContext } from "@/lib/types"
3+
import { WalletSupportedLanguageContextType } from "@/lib/types"
44

55
import { DEFAULT_LOCALE } from "@/lib/constants"
66

77
// Context API for /find-wallets language support filter
88
export const WalletSupportedLanguageContext =
9-
createContext<WalletSupportedLanguageContext>({
9+
createContext<WalletSupportedLanguageContextType>({
1010
supportedLanguage: DEFAULT_LOCALE,
1111
setSupportedLanguage: () => {},
1212
})

src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ export interface DropdownOption {
608608
category: string
609609
}
610610

611-
export type WalletSupportedLanguageContext = {
611+
export type WalletSupportedLanguageContextType = {
612612
supportedLanguage: string
613613
setSupportedLanguage: (language: string) => void
614614
}

src/pages/wallets/find-wallet.tsx

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -232,30 +232,7 @@ const FindWalletPage = () => {
232232
/>
233233

234234
{/* 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">
259236
<WalletTable
260237
filters={filters}
261238
resetFilters={resetFilters}

0 commit comments

Comments
 (0)