From 2964beb9989cc02a0bdbe6767a5d17a0b8cab3dc Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:50:47 -0400 Subject: [PATCH] Place longer text in description instead of title --- app/routes/mod-queue.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();