[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)
📚 Description
Resolves #1830
In cases where links are localized inside components or loops, it can be convenient to always use localePath. Instead of returning null or '' when passing an external link (string), it will return the link as is.
🔗 Linked issue
1830
❓ Type of change
📚 Description
Resolves #1830
In cases where links are localized inside components or loops, it can be convenient to always use
localePath
. Instead of returningnull
or''
when passing an external link (string), it will return the link as is.📝 Checklist