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
parent
7f9615ea9d
commit
bd733398b8
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue