From 82b3d5f23e4591786c04990ff1cf18d94e5adfa6 Mon Sep 17 00:00:00 2001 From: AneoPsy Date: Tue, 17 Feb 2026 01:29:27 -1000 Subject: [PATCH] fix - Fix clearedPlate - Remove useless import --- frontend/src/components/PrinterQueueWidget.tsx | 2 +- frontend/src/pages/ProfilesPage.tsx | 2 +- frontend/src/pages/QueuePage.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/PrinterQueueWidget.tsx b/frontend/src/components/PrinterQueueWidget.tsx index 899d4658d..265384176 100644 --- a/frontend/src/components/PrinterQueueWidget.tsx +++ b/frontend/src/components/PrinterQueueWidget.tsx @@ -13,7 +13,7 @@ interface PrinterQueueWidgetProps { plateCleared?: boolean; } -export function PrinterQueueWidget({ printerId, printerState }: PrinterQueueWidgetProps) { +export function PrinterQueueWidget({ printerId, printerState, plateCleared }: PrinterQueueWidgetProps) { const { t } = useTranslation(); const queryClient = useQueryClient(); const { showToast } = useToast(); diff --git a/frontend/src/pages/ProfilesPage.tsx b/frontend/src/pages/ProfilesPage.tsx index f6cf422ea..edfefb181 100644 --- a/frontend/src/pages/ProfilesPage.tsx +++ b/frontend/src/pages/ProfilesPage.tsx @@ -43,7 +43,7 @@ import { HardDrive, } from 'lucide-react'; import { api } from '../api/client'; -import { formatRelativeTime, parseUTCDate } from '../utils/date'; +import { formatRelativeTime } from '../utils/date'; import type { SlicerSetting, SlicerSettingsResponse, SlicerSettingDetail, SlicerSettingCreate, Printer, FieldDefinition, Permission } from '../api/client'; import { Card, CardContent } from '../components/Card'; import { Button } from '../components/Button'; diff --git a/frontend/src/pages/QueuePage.tsx b/frontend/src/pages/QueuePage.tsx index 4a39c33f8..3d7b583d9 100644 --- a/frontend/src/pages/QueuePage.tsx +++ b/frontend/src/pages/QueuePage.tsx @@ -50,7 +50,7 @@ import { Weight, } from 'lucide-react'; import { api } from '../api/client'; -import { parseUTCDate, formatDateTime, type TimeFormat, formatETA, formatDuration, formatRelativeTime } from '../utils/date'; +import { type TimeFormat, formatETA, formatDuration, formatRelativeTime } from '../utils/date'; import type { PrintQueueItem, PrintQueueBulkUpdate, Permission } from '../api/client'; import { Card, CardContent } from '../components/Card'; import { Button } from '../components/Button';