Skip to content

Commit c9b6a18

Browse files
authored
fix build warning (#123)
1 parent e53e84f commit c9b6a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/error-boundary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ErrorBoundary extends Component<Props, State> {
1414
this.state = { hasError: false };
1515
}
1616

17-
static getDerivedStateFromError(error: Error) {
17+
static getDerivedStateFromError(_: Error) {
1818
// Update state so the next render will show the fallback UI
1919
return { hasError: true };
2020
}

0 commit comments

Comments
 (0)