Skip to content

Commit

Permalink
Resolve Prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kpyszkowski committed Oct 26, 2023
1 parent 7baf050 commit 545a5c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/enums/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const envVariables = [
"WALLET_CONNECT_PROJECT_ID",
] as const

export type EnvVariableKey = typeof envVariables[number]
export type EnvVariableKey = (typeof envVariables)[number]

// In order not to break the previous enum API, so using eg.
// `EnvVariable.ETH_HOSTNAME_HTTP` is still valid.
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useFetchExternalPoolData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const pools = {
} as const

type ExternalPool = keyof typeof pools
type ExternalPoolId<T extends ExternalPool> = typeof pools[T][number]
type ExternalPoolId<T extends ExternalPool> = (typeof pools)[T][number]

const fetchCurvePool: (
poolId: ExternalPoolId<"curve">
Expand Down
2 changes: 1 addition & 1 deletion src/static/icons/tokenIconMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const tokenIcons = [
"T_CIRCLE_BRAND",
] as const

export type TokenIcon = typeof tokenIcons[number]
export type TokenIcon = (typeof tokenIcons)[number]

const tokenIconMap: Record<TokenIcon, ComponentType> = {
KEEP_CIRCLE_BRAND: KeepCircleBrand,
Expand Down

0 comments on commit 545a5c3

Please sign in to comment.