Skip to content

Commit 2166a10

Browse files
Copilothotlong
andcommitted
fix: resolve TS6133 build errors for unused variables
- Prefix unused `record` param with underscore in ObjectView.tsx - Remove unused `fireEvent` import from EmptyStateSystemRoutes.test.tsx Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent e704b11 commit 2166a10

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/console/src/__tests__/EmptyStateSystemRoutes.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import { describe, it, expect, vi, beforeEach } from 'vitest';
15-
import { render, screen, waitFor, fireEvent } from '@testing-library/react';
15+
import { render, screen, waitFor } from '@testing-library/react';
1616
import '@testing-library/jest-dom';
1717
import { MemoryRouter, Routes, Route } from 'react-router-dom';
1818
import { AppContent } from '../App';

packages/plugin-view/src/ObjectView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ export const ObjectView: React.FC<ObjectViewProps> = ({
984984
: layout;
985985

986986
// Build the record detail content for NavigationOverlay (split/popover modes)
987-
const renderOverlayDetail = (record: Record<string, unknown>) => (
987+
const renderOverlayDetail = (_record: Record<string, unknown>) => (
988988
<div className="space-y-3">
989989
<ObjectForm schema={buildFormSchema()} dataSource={dataSource} />
990990
</div>

0 commit comments

Comments
 (0)