diff --git a/src/shared/Toast/Toast.component.tsx b/src/shared/Toast/Toast.component.tsx index a311fa5713af686010bbefd63faaace2f4377790..c8d7804c2ddc4f79dd6424ba7085d9b6d6f9537a 100644 --- a/src/shared/Toast/Toast.component.tsx +++ b/src/shared/Toast/Toast.component.tsx @@ -19,9 +19,8 @@ export const Toast = ({ type, message, onDismiss }: ToastArgs): React.ReactNode 'h-full overflow-y-auto text-base font-bold', type === 'error' ? 'text-red-500' : 'text-green-500', )} - > - {message} - </p> + dangerouslySetInnerHTML={{ __html: message }} + /> <button type="button" onClick={onDismiss} className="ml-auto flex-none"> <Icon name="close" className="ml-3 h-7 w-7 fill-font-500" />