mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-07 14:41:24 +02:00
fix
- Fix clearedPlate - Remove useless import
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user