Skip to content

Commit

Permalink
fix: tsc error
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkaske committed Oct 10, 2024
1 parent 9b9fdc1 commit b177a31
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export type Monitor = {
cronTimestamp: number | null;
error: boolean;
assertions?: string | null;
trigger: Trigger;
trigger: Trigger | null;
};

export function DataTableWrapper({
Expand Down Expand Up @@ -84,7 +84,7 @@ function Details({ row }: { row: Row<Monitor> }) {
url: row.original.url,
region: row.original.region,
cronTimestamp: row.original.cronTimestamp || undefined,
}),
})
);

if (!data || data.length === 0) return <p>Something went wrong</p>;
Expand Down

0 comments on commit b177a31

Please sign in to comment.