Skip to content

Commit

Permalink
Merge pull request #9814 from hicommonwealth/release/v1.7.2-x
Browse files Browse the repository at this point in the history
1.7.2-x Hotfix
  • Loading branch information
ilijabojanovic authored Nov 5, 2024
2 parents ae31553 + b7e045c commit d46d4f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,11 @@ export const NewThreadForm = () => {
const contestTopicAffordanceVisible =
isContestAvailable && hasTopicOngoingContest;

const isWalletBalanceErrorEnabled = false;
const walletBalanceError =
isContestAvailable &&
hasTopicOngoingContest &&
isWalletBalanceErrorEnabled &&
parseFloat(userEthBalance || '0') < MIN_ETH_FOR_CONTEST_THREAD;

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,11 @@ export const NewThreadForm = () => {
const contestTopicAffordanceVisible =
isContestAvailable && hasTopicOngoingContest;

const isWalletBalanceErrorEnabled = false;
const walletBalanceError =
isContestAvailable &&
hasTopicOngoingContest &&
isWalletBalanceErrorEnabled &&
parseFloat(userEthBalance || '0') < MIN_ETH_FOR_CONTEST_THREAD;

useEffect(() => {
Expand Down

0 comments on commit d46d4f9

Please sign in to comment.