Fix href check for action buttons (#1246)

* Fix href check for action buttons
Co-authored-by: Zef Hemel <zef@zef.me>
Co-authored-by: KitAmbraid <128903658+KitAmbraid@users.noreply.github.com>
pull/1255/head
Kenneth Fitzgerald 2025-02-22 06:13:36 -05:00 committed by GitHub
parent 7f9615ea9d
commit bd733398b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export function TopBar({
</button> </button>
); );
return actionButton.href !== undefined return actionButton.href
? ( ? (
<a href={actionButton.href} key={actionButton.href}> <a href={actionButton.href} key={actionButton.href}>
{button} {button}