Skip to content

Commit

Permalink
fix(minifront): prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
VanishMax committed Jul 15, 2024
1 parent 82fae33 commit 9fad1ef
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -21,8 +21,10 @@ export const Indicator = ({
const stateIcon = useMemo(() => {
const auctionEnded =
(!!seqNum && seqNum > 0n) || (!!fullSyncHeight && fullSyncHeight >= description.endHeight);
const isFilled = !!dutchAuction.state?.inputReserves && isZero(dutchAuction.state.inputReserves);
const isUnfilled = !!dutchAuction.state?.inputReserves && !isZero(dutchAuction.state.inputReserves);
const isFilled =
!!dutchAuction.state?.inputReserves && isZero(dutchAuction.state.inputReserves);
const isUnfilled =
!!dutchAuction.state?.inputReserves && !isZero(dutchAuction.state.inputReserves);

if (auctionEnded && isUnfilled) {
return <CircleX size={16} className='text-red' />;

0 comments on commit 9fad1ef

Please sign in to comment.