Skip to content

Commit

Permalink
chore: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Nov 7, 2023
1 parent 8aae513 commit 44de9c8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export function formatParameters(params: CowSwapWidgetParams, padLeft = 0): stri
})
const formattedParams = JSON.stringify(paramsSanitized, null, 4)

// const formattedParams = JSON.stringify(sanitizeParameters(params), null, 4)

// Add comments
const resultWithComments = Object.keys(COMMENTS_BY_PARAM_NAME).reduce((acc, propName) => {
return acc.replace(new RegExp(`"${propName}".*$`, 'gm'), `$& // ${COMMENTS_BY_PARAM_NAME[propName]}`)
Expand Down

0 comments on commit 44de9c8

Please sign in to comment.