Skip to content

Commit

Permalink
feat: widget configurator app
Browse files Browse the repository at this point in the history
  • Loading branch information
fairlighteth committed Oct 16, 2023
1 parent 527108a commit a133ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/widget-configurator/src/app/configurator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function Configurator({ title }: { title: string }) {

const constructIframeURL = React.useCallback(() => {
if (network) {
return `https://swap-dev-git-widget-ui-5b-cowswap.vercel.app/#/${network.chainID}/widget/swap/${sellToken}/${buyToken}?sellAmount=${sellTokenAmount}&buyAmount=${buyTokenAmount}&theme=${mode}`
return `https://swap-dev-git-widget-ui-6-cowswap.vercel.app/#/${network.chainID}/widget/swap/${sellToken}/${buyToken}?sellAmount=${sellTokenAmount}&buyAmount=${buyTokenAmount}&theme=${mode}`
}
return ''
}, [sellToken, buyToken, sellTokenAmount, buyTokenAmount, mode, network])
Expand Down

0 comments on commit a133ca5

Please sign in to comment.