From 92e584cc5cd796e366469d422f21ef77d744ac19 Mon Sep 17 00:00:00 2001 From: Luis-Hebendanz Date: Tue, 16 Jan 2024 16:19:44 +0100 Subject: [PATCH] Fixed unused var error --- pkgs/ui/src/components/error_boundary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/ui/src/components/error_boundary.tsx b/pkgs/ui/src/components/error_boundary.tsx index f6f8ef1..3979460 100644 --- a/pkgs/ui/src/components/error_boundary.tsx +++ b/pkgs/ui/src/components/error_boundary.tsx @@ -16,7 +16,7 @@ class ErrorBoundary extends React.Component { this.state = { hasError: false }; } static getDerivedStateFromError(error: Error): State { - // eslint-disable-line + console.error(error); // Update state so the next render will show the fallback UI return { hasError: true }; }