diff --git a/components/wizard/index.tsx b/components/wizard/index.tsx index ec02566..15229a3 100644 --- a/components/wizard/index.tsx +++ b/components/wizard/index.tsx @@ -73,11 +73,15 @@ function WizardInternal() { -
{postDataError}
+ {postDataError && ( +
+ Error: {postDataError} +
+ )}
diff --git a/styles/index.css b/styles/index.css index 059eb1d..d163657 100644 --- a/styles/index.css +++ b/styles/index.css @@ -111,6 +111,11 @@ @apply text-blue-700; } +.error-message { + @apply inline-block bg-red-200 border-solid border-2 border-red-700 rounded text-red-700 py-1 px-2; + max-width: 10rem; +} + .Calendar-grid { @apply flex flex-wrap; }