Skip to content

Commit

Permalink
fix: status bar styling
Browse files Browse the repository at this point in the history
  • Loading branch information
He1DAr committed Feb 21, 2025
1 parent ef05b6b commit a42a94f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/_components/StatusBar/IncidentsStatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ function IncidentsStatusBar(props: StackProps) {
const incidents = unresolvedIncidentsResponse?.incidents;
const statusBarRef = useRef<HTMLDivElement | null>(null);

if (!incidents?.length) {
return null;
}
return (
<Stack {...props}>
{incidents?.map(({ name, impact }) => {
Expand Down

0 comments on commit a42a94f

Please sign in to comment.