Skip to content

Commit

Permalink
fix: change price check condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss committed May 22, 2024
1 parent ec3ae0f commit 1126b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/hooks/pool/use-select-pool.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export const useSelectPool = ({
return null;
}
const currentPrice = isCreate ? startPrice : price;
if (currentPrice === undefined || currentPrice === null) {
if (!currentPrice) {
return null;
}

Expand Down

0 comments on commit 1126b05

Please sign in to comment.