From 1949abe05fa5e208d50774f714f3393646b3ba17 Mon Sep 17 00:00:00 2001 From: Michael McQuade Date: Wed, 8 Dec 2021 18:10:42 -0600 Subject: [PATCH] Make children optional --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index d3cf0bf..19544d7 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -29,7 +29,7 @@ export interface FoldableLoggerProps { autoScroll?: boolean; showHeader?: boolean; linkify?: boolean; - children: ({ + children?: ({ hasError, errors, }: {