Skip to content

Commit b751b34

Browse files
mainawycliffemoshloop
authored andcommitted
refactor: remove ts-ignore directive
1 parent 665d26c commit b751b34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/types/health.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export interface HealthCheckStatus {
7272
time: string;
7373
duration: number;
7474
error?: string;
75+
message?: string;
7576
}
7677

7778
export interface HealthCheckLatency {

src/components/Canary/CanaryPopup/StatusHistory/StatusHistory.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ const columns: ColumnDef<HealthCheckStatus, any>[] = [
5454
const status = row.original;
5555
return (
5656
<div className="overflow-x-hidden whitespace-normal">
57-
{/* @ts-expect-error */}
58-
<CanaryStatus className="" status={status} /> {status.message}{" "}
57+
<CanaryStatus status={status} /> {status.message}
5958
{status.error &&
6059
status.error.split("\n").map((item, index) => (
6160
<React.Fragment key={index}>

0 commit comments

Comments
 (0)