We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3295698 commit c32745bCopy full SHA for c32745b
src/index.tsx
@@ -323,7 +323,9 @@ const Toast = (props: ToastProps) => {
323
<>
324
{toastType || toast.icon || toast.promise ? (
325
<div data-icon="">
326
- {toast.promise || toast.type === 'loading' ? <Loader visible={toastType === 'loading'} /> : null}
+ {(toast.promise || toast.type === 'loading') && !toast.icon ? (
327
+ <Loader visible={toastType === 'loading'} />
328
+ ) : null}
329
{toast.icon || getAsset(toastType)}
330
</div>
331
) : null}
0 commit comments