Skip to content

Open-source status page, incident response and uptime monitoring

195 B
Raw Blame
export function formatComponentImpacts(
  impacts: readonly { pageComponentId: number; impact: string }[],
): string[] {
  return impacts.map((ci) => `${ci.pageComponentId} → ${ci.impact}`);
}