From 6bcc951ad4d20d53161b1e294f4a5dffce0749f8 Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Fri, 2 Sep 2022 17:14:20 +0300 Subject: [PATCH] Web: Fix warning --- packages/login/src/client/components/ErrorBoundary.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/login/src/client/components/ErrorBoundary.tsx b/packages/login/src/client/components/ErrorBoundary.tsx index 281c95ea7a..f6c68c81e5 100644 --- a/packages/login/src/client/components/ErrorBoundary.tsx +++ b/packages/login/src/client/components/ErrorBoundary.tsx @@ -31,6 +31,7 @@ class ErrorBoundary extends React.Component< IErrorBoundaryState > { state: IErrorBoundaryState = { hasError: false }; + props: any; // eslint-disable-next-line no-unused-vars static getDerivedStateFromError() { // Update state so the next render will show the fallback UI.