mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-12 06:19:11 +00:00
Polish: Use strong types in App and CompleteStep
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user