diff --git a/apps/web/components/providers/query-provider.tsx b/apps/web/components/providers/query-provider.tsx index aa03482..332c92a 100644 --- a/apps/web/components/providers/query-provider.tsx +++ b/apps/web/components/providers/query-provider.tsx @@ -37,13 +37,13 @@ class QueryErrorBoundaryInner extends Component< { children: ReactNode; onReset: () => void }, ErrorBoundaryState > { - state: ErrorBoundaryState = { error: null }; + override state: ErrorBoundaryState = { error: null }; static getDerivedStateFromError(error: Error) { return { error }; } - componentDidCatch(error: Error, info: ErrorInfo) { + override componentDidCatch(error: Error, info: ErrorInfo) { if (process.env.NODE_ENV !== 'production') { console.error('Query error boundary caught:', error, info); } @@ -54,7 +54,7 @@ class QueryErrorBoundaryInner extends Component< this.setState({ error: null }); }; - render() { + override render() { if (this.state.error) { return ; } diff --git a/e2e/api/inquiries.spec.ts b/e2e/api/inquiries.spec.ts index 45be89a..21b19ea 100644 --- a/e2e/api/inquiries.spec.ts +++ b/e2e/api/inquiries.spec.ts @@ -1,4 +1,4 @@ -import { test, expect, createListing, registerUser } from '../fixtures'; +import { test, expect, createListing } from '../fixtures'; test.describe('Inquiries API', () => { test('POST /inquiries — creates inquiry for a listing', async ({