Skip to content

Commit

Permalink
updates type:
Browse files Browse the repository at this point in the history
  • Loading branch information
dplumlee committed Jan 5, 2022
1 parent 7199078 commit d3447d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface LogAccordionProps {
isError?: boolean;
}

const addLogs = (startedAt: string, logs: string[], allLogs: SortedLogs[]) =>
const addLogs = (startedAt: string | undefined, logs: string[], allLogs: SortedLogs[]) =>
logs.length ? [{ startedAt, logs }, ...allLogs] : allLogs;

export const PreviewLogsComponent: React.FC<PreviewLogsComponentProps> = ({
Expand Down

0 comments on commit d3447d2

Please sign in to comment.