Skip to content

Commit bd73339

Browse files
fitzgeraldkdzefhemelKitAmbraid
authored
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>
1 parent 7f9615e commit bd73339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/components/top_bar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export function TopBar({
132132
</button>
133133
);
134134

135-
return actionButton.href !== undefined
135+
return actionButton.href
136136
? (
137137
<a href={actionButton.href} key={actionButton.href}>
138138
{button}

0 commit comments

Comments
 (0)