Skip to content

Commit

Permalink
fix disabling icon individually #658
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Sep 24, 2021
1 parent 86e71e3 commit 2f9d9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useToastContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export function useToastContainer(props: ToastContainerProps) {
updateId,
isLoading: options.isLoading,
theme: options.theme || props.theme!,
icon: options.icon || props.icon,
icon: options.icon ?? props.icon,
isIn: false,
key: options.key || instance.toastKey++,
type: options.type!,
Expand Down

0 comments on commit 2f9d9c7

Please sign in to comment.