Skip to content

Commit

Permalink
chore: remove unused prop gasLimit from SupportedPermitInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Oct 16, 2023
1 parent 0a4a592 commit f1959bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/cowswap-frontend/src/modules/permit/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export type PermitType = 'dai-like' | 'eip-2612'

export type SupportedPermitInfo = {
type: PermitType
gasLimit: number
}
type UnsupportedPermitInfo = false
export type PermitInfo = SupportedPermitInfo | UnsupportedPermitInfo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ async function estimateTokenPermit(params: EstimateParams): Promise<EstimatePerm

return gasLimit > PERMIT_GAS_LIMIT_MIN[chainId]
? {
gasLimit,
type,
}
: false
Expand Down

0 comments on commit f1959bf

Please sign in to comment.