Skip to content

Commit

Permalink
Undo unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
thsparks committed Apr 22, 2024
1 parent d3ab60f commit c03b67c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions teachertool/src/components/Toasts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ const ToastNotification: React.FC<IToastNotificationProps> = ({ toast }) => {
}, [sliderActive]);

return (
<div className={classList(css["toast"], css[toast.type], toast.className)} aria-live="assertive">
<div className={classList(css["toast"], css[toast.type], toast.className)}>
<div className={css["toast-content"]}>
{!toast.hideIcon && (
<div className={classList(css["icon-container"], css[toast.type])}>
{toast.icon ?? icons[toast.type]}
</div>
)}
<div className={css["text-container"]}>
{toast.text && <div className={classList(css["text"], "tt-toast-text")} >{toast.text}</div>}
{toast.text && <div className={classList(css["text"], "tt-toast-text")}>{toast.text}</div>}
{toast.detail && <div className={css["detail"]}>{toast.detail}</div>}
{toast.jsx && <div>{toast.jsx}</div>}
</div>
Expand Down

0 comments on commit c03b67c

Please sign in to comment.