Skip to content

Commit

Permalink
Change submit nfts button text on upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitayutanov committed Feb 29, 2024
1 parent 553664d commit 9efe6f4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@ function NFTForm({ defaultValues, isLoading, onSubmit, onBack }: Props) {
<p className={styles.submitText}>Calculated based on the number of unique images.</p>
</div>

<Button type="submit" text="Submit" isLoading={isLoading} disabled={nftsCount === 0} />
<Button
type="submit"
text={isLoading ? 'Uploading...' : 'Submit'}
isLoading={isLoading}
disabled={nftsCount === 0}
/>
</div>
</Container>
</footer>
Expand Down

0 comments on commit 9efe6f4

Please sign in to comment.