Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Sep 12, 2023
1 parent 0c13ef9 commit 2adde1d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions centrifuge-app/src/components/Swaps/Orders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ export function Orders({ buyOrSell }: OrdersProps) {
{ enabled: !!currencies }
)

console.log('orders', orders)

const filtered = orders?.filter(
(order) =>
!buyOrSell ||
Expand Down Expand Up @@ -244,7 +242,7 @@ export function SwapAndSendDialog({ open, onClose, order }: { open: boolean; onC

const disabled = balanceLow || (isTransferEnabled && !isEvmAddress(tranferReceiverAddress))

if (!account) return
if (!account) return null

return (
<Dialog isOpen={open} onClose={close} title="Fulfill order">
Expand Down Expand Up @@ -333,7 +331,3 @@ export function SwapAndSendDialog({ open, onClose, order }: { open: boolean; onC
</Dialog>
)
}

function formatPrice(number: number) {
return number.toLocaleString('en', { maximumSignificantDigits: 2 })
}

0 comments on commit 2adde1d

Please sign in to comment.