Skip to content

Commit

Permalink
Merge pull request #1712 from navikt/Alerts_mangler_gap
Browse files Browse the repository at this point in the history
Fjerner div-wrapper rundt alerts som hindrer gap fra Hovedside
  • Loading branch information
peterbb authored Oct 17, 2023
2 parents 825cb36 + 927d0c1 commit fb6509b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App/Alerts/Alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ export const Alerts = () => {
return null;
}
return (
<div role="status">
<>
{alertList.sort().map((alertType) => (
<Alert key={alertType} variant="error" role="status">
{ALERTS[alertType].content}
</Alert>
))}
</div>
</>
);
};

0 comments on commit fb6509b

Please sign in to comment.