Web: Fix warning

This commit is contained in:
Alexey Safronov 2022-09-02 17:14:20 +03:00
parent b811d2bb14
commit 6bcc951ad4

View File

@ -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.