Skip to content

Commit

Permalink
fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvoskamp committed Jan 31, 2024
1 parent 9cdffa5 commit e8fb82f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/utils/CoreHelperUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ export const CoreHelperUtil = {
return 'Unknown error'
},
sortRequestedNetworks(
approvedIds?: `${string}:${string}`[],
requestedNetworks?: CaipNetwork[]
approvedIds: `${string}:${string}`[] | undefined,
requestedNetworks: CaipNetwork[] = []
): CaipNetwork[] {
const approvedIndexMap: Record<string, number> = {}

Expand Down

0 comments on commit e8fb82f

Please sign in to comment.