diff --git a/src/components/views/toasts/GenericToast.tsx b/src/components/views/toasts/GenericToast.tsx index 200c88875e..209babbf9d 100644 --- a/src/components/views/toasts/GenericToast.tsx +++ b/src/components/views/toasts/GenericToast.tsx @@ -40,13 +40,14 @@ const GenericToast: React.FC> = ({ onAccept, onReject, }) => { - const detailContent = detail ? + const detailContent = detail ?
{detail} - : null; +
: null; return
- {description} {detailContent} + {description} + {detailContent}
{onReject && rejectLabel && }