Skip to content

fix(ui): duplicate basePath in Logout Button Link#11432

Merged
PatrikKozak merged 2 commits into
mainfrom
fix/logout-link-with-next-link
Feb 27, 2025
Merged

fix(ui): duplicate basePath in Logout Button Link#11432
PatrikKozak merged 2 commits into
mainfrom
fix/logout-link-with-next-link

Conversation

@PatrikKozak

Copy link
Copy Markdown
Contributor

This PR resolves an issue where the href for the Logout button in the admin panel included duplicate basePath values when basePath was set in next.config.js.

The Logout button was recently updated to use NextLink (next/link), which automatically applies the basePath from the Next.js configuration. As a result, manually adding the basePath to the href is no longer necessary.

Relevant PRs that modified this behavior originally:

@PatrikKozak PatrikKozak merged commit f7b1cd9 into main Feb 27, 2025
@PatrikKozak PatrikKozak deleted the fix/logout-link-with-next-link branch February 27, 2025 18:58
@github-actions

github-actions Bot commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

🚀 This is included in version v3.26.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants