decentraland / decentraland/builder
[BUG] Wrong redirection when coming from the marketplace
- Dominant language
- TypeScript
- Stars
- 156
- Forks
- 91
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 31
Description
## 🎉 Description
In the marketplace in the `CollectionPage` or `AssetsPage` when the user clicks on an action that redirects to the builder, this redirection is not working as expected by [this change](https://github.com/decentraland/builder/pull/2437/files#diff-6cf8487d58f1d0252efe1c5b0e89cd7ab70dc308c1e3deb4ea15cfba2eb70a86R26).
- [x] 🐛 This is a bug report.
- [ ] 📈 This is a feature request.
## 📝 Details
In the marketplace, when a creator wants to modify a collection/item, it's redirected to the builder using the query param: `?redirectTo=`. Prioritize the redirections with that query param over the builder setting: `lastVisitedSection`.
## 🔢 Steps To Reproduce Issue [ Good To Have ]
Please remember that with baby steps it's easier to reproduce the bug and it's much faster to fix it.
```
- Step 1) Have a collection published
- Step 2) Go to the collection's page or asset's page in the marketplace
- Step 3) Tries to edit price/edit beneficiary/mint item
```
Contributor guide
Assessment
This issue has not been assessed yet.