on /apps clicking either 'SKUsorSKU Lists` seem to break navigation, specifically back button navigation. Additionally both seem to add 2 entries to history which may be the issue.
On a related note, is there a motivation for rending buttons over anchor links which would be in my opinion a more pleasant user experience.
To Reproduce
On dashboard app home /apps
No particular config
Click on SKUs or SKU Lists button
On /skus/list try to navigate back in browser
If bug should stay on /skus/list
System
No response
Additional context
If useful, did some digging, and I think the following redirect causes the issues
Describe the bug
on
/apps
clicking either 'SKUsor
SKU Lists` seem to break navigation, specifically back button navigation. Additionally both seem to add 2 entries to history which may be the issue.On a related note, is there a motivation for rending buttons over anchor links which would be in my opinion a more pleasant user experience.
To Reproduce
/apps
SKUs
orSKU Lists
button/skus/list
try to navigate back in browser/skus/list
System
No response
Additional context
If useful, did some digging, and I think the following redirect causes the issues
https://github.com/commercelayer/dashboard-apps/blob/cc921cfd226a012f6655113937c83c367cb0b220/apps/sku_lists/src/App.tsx#L22
perhaps the location should be replaced so you avoid getting caught in infinite redirect loop if trying to go back in history.