-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create project step three #74
base: master
Are you sure you want to change the base?
Conversation
@@ -204,7 +209,7 @@ export default function StepFour() { | |||
|
|||
<button | |||
className='w-full appearance-none py-4 px-4 text-center text-xs text-gray-500 focus:outline-none' | |||
onClick={previousStep} | |||
onClick={() => goBack()} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var vnk padot goBack bez anonīmās funkcijas
<br /><br /> | ||
If you want to connect your wallet, or dont have a wallet yet, | ||
click below: | ||
To receive the money raised, make sure you have a Plug Wallet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Šo var mest ārā aizkomentēto :)
try { | ||
setLoading(true) | ||
|
||
setProject((project) => ({ ...project, ...form })) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Šis vtad var nofeilot?
<p className='mb-2 text-2xl font-bold text-neutral-900'> | ||
How many NFTs would you like to include for your round? | ||
</p> | ||
{/* space-y-7 lg:flex lg:flex-wrap lg:space-y-0 lg:space-x-2 */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover
<div className='mt-4 grid w-full grid-cols-6 gap-4'> | ||
{values.tiers.map((tier, index) => ( | ||
<div | ||
key={index + 1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
key labāk kkā šādi tier-${index}
{/* space-y-7 lg:flex lg:flex-wrap lg:space-y-0 lg:space-x-2 */} | ||
<div className='mt-4 grid w-full grid-cols-6 gap-4'> | ||
{values.tiers.map((tier, index) => ( | ||
<div |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Būtu nice laikam šo iznest koponentē - TierCard vai kkā tā, lai te mazāks render
) : ( | ||
<div className='my-auto ml-2 flex'> | ||
<img | ||
src={`assets/${project.fundingType}.svg`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Te jau laikam btc svg varētu pārsaukt un nevajadzētu ternary?
</span> | ||
</p> | ||
|
||
{/* {Object.values(errors.tiers).length > 0 && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover
Added new step after 3rd step.