diff --git a/packages/web/src/components/ActivityDot.tsx b/packages/web/src/components/ActivityDot.tsx index d6fefaf9b..d2abab4b7 100644 --- a/packages/web/src/components/ActivityDot.tsx +++ b/packages/web/src/components/ActivityDot.tsx @@ -28,7 +28,7 @@ interface ActivityDotProps { } export function ActivityDot({ activity, dotOnly = false, size = 6 }: ActivityDotProps) { - const c = (activity != null && activityConfig[activity]) || { + const c = (activity !== null && activityConfig[activity]) || { label: activity ?? "unknown", ...fallbackConfig, }; diff --git a/packages/web/src/components/PRStatus.tsx b/packages/web/src/components/PRStatus.tsx index ab4929d31..3d0a38de3 100644 --- a/packages/web/src/components/PRStatus.tsx +++ b/packages/web/src/components/PRStatus.tsx @@ -1,7 +1,6 @@ "use client"; -import type { DashboardPR } from "@/lib/types"; -import { isPRRateLimited } from "@/lib/types"; +import { type DashboardPR, isPRRateLimited } from "@/lib/types"; import { CIBadge } from "./CIBadge"; function getSizeLabel(additions: number, deletions: number): string {