UI: Fixed exception in service view rendering #56

Merged
merge-bot merged 3 commits from Qubasa-main into main 2024-01-16 15:23:15 +00:00
Showing only changes of commit 92e584cc5c - Show all commits

View File

@@ -16,7 +16,7 @@ class ErrorBoundary extends React.Component<Props, State> {
this.state = { hasError: false }; this.state = { hasError: false };
} }
static getDerivedStateFromError(error: Error): State { static getDerivedStateFromError(error: Error): State {
// eslint-disable-line console.error(error);
// Update state so the next render will show the fallback UI // Update state so the next render will show the fallback UI
return { hasError: true }; return { hasError: true };
} }