Skip to content

Commit

Permalink
improvements: coderabbit feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseRFelix committed Nov 26, 2024
1 parent 3caab4b commit 9680fad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web/hooks/limit-orders/use-place-limit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export const usePlaceLimit = ({
}
}

if (!limitMessages) return;
if (!limitMessages || limitMessages.length === 0) return;

const paymentDenom = paymentTokenValue?.toCoin().denom ?? "";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function useOneClickTradingSwapReview({
state.setChanges(undefined);
state.setInitialTransactionParams(undefined);
}
});
}, [isModalOpen, resetParams]);

return {
isEnabled,
Expand Down

0 comments on commit 9680fad

Please sign in to comment.