diff --git a/app/routes/mod-queue.tsx b/app/routes/mod-queue.tsx index 5fcb1d5..80c9431 100644 --- a/app/routes/mod-queue.tsx +++ b/app/routes/mod-queue.tsx @@ -167,11 +167,11 @@ export default function () { if (!itemReq.ok) { toast({ - description: ((await itemReq.json()) as { error: string }).error, + description: "Failed to load item with id " + itemId, duration: 10000, isClosable: true, status: "error", - title: "Failed to load item with id " + itemId, + title: ((await itemReq.json()) as { error: string }).error, }); } else { const itemData: { [k: string]: any } = await itemReq.json();