PrimeDAO / prime-launch-dapp

https://launch.prime.xyz
6 stars 13 forks source link

Leaving Maximum Token Supply empty throw and error on the 4th stage #398

Open BartuCulha opened 3 years ago

BartuCulha commented 3 years ago

We should throw an error and block the user from navigating to next stages if MAximum token supply is empty.

Case 1: Steps to reproduce: Navigate to: https://primelaunchtest.primedao.io/newLBP/stage3 Provide a token project address Leave Maximum Project Token (PRIME) Supply empty From the sidebar navigate to stage 4 Fill in the empty fields Click Next

You will notice that no error were shown and user is not notified of whats going wrong.

Case 2:Steps to reproduce: Navigate to: https://primelaunchtest.primedao.io/newLBP/stage3 Provide a token project address Provide a value for Maximum Project Token (PRIME) Supply Click next to go to stage 4 Fill in the empty fields in stage 4 Go back to Stage 3 and remove the value in Maximum Project Token (PRIME) Supply. From the sidebar navigate to stage 4 You will be able to click next and stage 4 will be approved by the front-end

dkent600 commented 3 years ago

This is a dup of: https://github.com/PrimeDAO/prime-launch-dapp/issues/391