chore(workspace): eradicate all tsc errors and eslint warnings across frontend, admin, and backend
Deploy Canina / deploy (push) Failing after 29s

This commit is contained in:
parsa committed 2026-08-07 07:39:26 +03:30
1 parent 4659a7b1de
commit 9f11d8fb2d
98 files changed
+1272 -1009

No files matched your search

@@ -1,6 +1,6 @@
"use client";
import * as React from 'react';
import { Component, ErrorInfo, ReactNode } from 'react';
import { ErrorInfo, ReactNode } from 'react';
import { AlertTriangle, RefreshCcw } from 'lucide-react';
interface Props {
@@ -23,8 +23,8 @@ export class ErrorBoundary extends React.Component<Props, State> {
};
}
public static getDerivedStateFromError(_: Error): State {
return { hasError: true, error: null };
public static getDerivedStateFromError(error: Error): State {
return { hasError: true, error };
}
public override componentDidCatch(error: Error, errorInfo: ErrorInfo) {