Skip to content

Commit 9331751

Browse files
authored
Merge pull request #683 from objectstack-ai/copilot/fix-unused-variable-errors
2 parents 350d5e0 + b16f03a commit 9331751

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ vi.mock('@object-ui/components', () => ({
5151
{...props}
5252
/>
5353
),
54-
FilterBuilder: ({ fields, value, onChange, ...props }: any) => {
54+
FilterBuilder: ({ fields, value, onChange }: any) => {
5555
let counter = 0;
5656
return (
5757
<div data-testid="mock-filter-builder" data-field-count={fields?.length || 0} data-condition-count={value?.conditions?.length || 0}>
@@ -65,7 +65,7 @@ vi.mock('@object-ui/components', () => ({
6565
</div>
6666
);
6767
},
68-
SortBuilder: ({ fields, value, onChange, ...props }: any) => {
68+
SortBuilder: ({ fields, value, onChange }: any) => {
6969
let counter = 0;
7070
return (
7171
<div data-testid="mock-sort-builder" data-field-count={fields?.length || 0} data-sort-count={value?.length || 0}>

apps/console/src/components/ViewConfigPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function SectionHeader({ title }: { title: string }) {
251251
);
252252
}
253253

254-
export function ViewConfigPanel({ open, onClose, activeView, objectDef, onViewUpdate, onOpenEditor, onSave }: ViewConfigPanelProps) {
254+
export function ViewConfigPanel({ open, onClose, activeView, objectDef, onViewUpdate, onSave }: ViewConfigPanelProps) {
255255
const { t } = useObjectTranslation();
256256
const panelRef = useRef<HTMLDivElement>(null);
257257

0 commit comments

Comments
 (0)