From 808070c00eb55b7ce252880543da850e01ff5f82 Mon Sep 17 00:00:00 2001 From: sylenien Date: Tue, 29 Nov 2022 13:23:24 +0100 Subject: [PATCH] fix(ui): fix type --- .../app/components/shared/DevTools/ConsoleRow/ConsoleRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/shared/DevTools/ConsoleRow/ConsoleRow.tsx b/frontend/app/components/shared/DevTools/ConsoleRow/ConsoleRow.tsx index 777771de9..11039c9f6 100644 --- a/frontend/app/components/shared/DevTools/ConsoleRow/ConsoleRow.tsx +++ b/frontend/app/components/shared/DevTools/ConsoleRow/ConsoleRow.tsx @@ -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} >