fix: pr issues

This commit is contained in:
math-pixel
2026-04-29 11:23:40 +02:00
parent dca8f5a0d3
commit d482ae4634
7 changed files with 67 additions and 40 deletions
+2
View File
@@ -26,10 +26,12 @@ class ModelErrorBoundary extends Component<
this.state = { hasError: false };
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
static getDerivedStateFromError(_error: Error): ErrorBoundaryState {
return { hasError: true };
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
componentDidCatch(_error: Error): void {
console.warn(`Failed to load model`);
}