Skip to content

Commit 63a7ac1

Browse files
committed
Fix: ref the network if with the enum
1 parent ffb6c46 commit 63a7ac1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/constants/networks/networks.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export enum NETWORKS {
1515
'aurora' = 'aurora'
1616
}
1717

18+
type IdType = keyof typeof NETWORKS
19+
1820
export type NetworkType = {
19-
id: string
21+
id: IdType
2022
chainId: number
2123
rpc: string
2224
nativeAssetSymbol: string

0 commit comments

Comments
 (0)