Skip to content

Commit

Permalink
remove eth requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
mzparacha authored and ilijabojanovic committed Nov 5, 2024
1 parent c6a6dca commit ae43461
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 ae43461

Please sign in to comment.