Skip to content

Commit

Permalink
networkmanager: drop useless React fragment wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly authored and martinpitt committed Jul 20, 2023
1 parent 4693a53 commit 170fb5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/networkmanager/network-main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ export const NetworkPage = ({ privileged, operationInProgress, usage_monitor, pl
<Gallery hasGutter>
{firewall.installed && <Card id="networking-firewall-summary">
<CardHeader actions={{
actions: <><Button variant="secondary" id="networking-firewall-link"
actions: <Button variant="secondary" id="networking-firewall-link"
component="a"
onClick={() => cockpit.jump("/network/firewall", cockpit.transport.host)}>
{_("Edit rules and zones")}
</Button></>,
</Button>,
}}>
<Flex alignItems={{ default: 'alignItemsCenter' }}>
<CardTitle component="h2">{_("Firewall")}</CardTitle>
Expand Down

0 comments on commit 170fb5d

Please sign in to comment.