fix(ui): fix type

This commit is contained in:
sylenien 2022-11-29 13:23:24 +01:00
parent 39bf333bc5
commit 808070c00e

View file

@ -37,7 +37,7 @@ function ConsoleRow(props: Props) {
'cursor-pointer underline decoration-dotted decoration-gray-200': !!log.errorId,
}
)}
onClick={clickable ? () => (!!log.errorId ? props.onClick() : toggleExpand()) : () => {}}
onClick={clickable ? () => (!!log.errorId ? props.onClick() : toggleExpand()) : undefined}
>
<div className="mr-2">
<Icon size="14" {...iconProps} />