Place longer text in description instead of title
This commit is contained in:
parent
1464c92093
commit
2964beb998
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user