This commit is contained in:
McPizza
2024-12-04 23:32:55 +00:00
parent 48cb5f6e9b
commit 8b2a866994
3 changed files with 15 additions and 11 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ export const queryClient = new QueryClient({
title: "Validation Error",
type: "error",
text: "Please check the input and try again.",
cta: (
callToAction: (
<Modal>
<ModalTrigger>
<Button variant="outline_bg" size="xs">
@@ -80,7 +80,7 @@ export const queryClient = new QueryClient({
title: "Forbidden Access",
type: "error",
text: `${serverResponse.message}.`,
cta: serverResponse?.details?.length ? (
callToAction: serverResponse?.details?.length ? (
<Modal>
<ModalTrigger>
<Button variant="outline_bg" size="xs">