[Update] Fix baseURI extraction logic and refactor lazy mint form (#4447)

FIXES: DASH-210

<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to fix the baseURI extraction logic in the `lazy-mint-form.tsx` file.

### Detailed summary
- Removed unnecessary `upload` function calls for image and animation URLs
- Updated data processing logic in `LazyMintNftForm`
- Refactored `getBaseUriFromBatch` function for URI extraction
- Added tests for `getBaseUriFromBatch` function

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
This commit is contained in:
jnsdls
2024-09-06 20:51:30 +00:00
parent f39e1bab8f
commit f0d0f377dc
4 changed files with 85 additions and 37 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---
fix baseURI extraction logic