mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-27 00:06:13 +00:00
Polish: Use strong types in App and CompleteStep
This commit is contained in:
parent
ea901bac43
commit
a00a614f3f
1 changed files with 1 additions and 1 deletions
|
|
@ -1136,7 +1136,7 @@ function AppLayout(props: {
|
|||
const utilityTabs = createMemo(() => {
|
||||
const allAlerts = props.state().activeAlerts || [];
|
||||
const breakdown = allAlerts.reduce(
|
||||
(acc, alert: any) => {
|
||||
(acc, alert: Alert) => {
|
||||
if (alert?.acknowledged) return acc;
|
||||
const level = String(alert?.level || '').toLowerCase();
|
||||
if (level === 'critical') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue