Skip to content

Commit

Permalink
chore: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Sep 27, 2021
1 parent b289db2 commit 3b9f70a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -6,7 +6,7 @@ class ErrorBoundary extends React.Component<any, { hasError: boolean }> {
this.state = { hasError: false };
}

static getDerivedStateFromError(error) {
static getDerivedStateFromError() {
// Update state so the next render will show the fallback UI.
return { hasError: true };
}
Expand Down

0 comments on commit 3b9f70a

Please sign in to comment.