Skip to content

Commit

Permalink
few fixes on asyncToasts.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
pmakode-akamai committed Sep 3, 2024
1 parent 01f4435 commit f17ffcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/manager/src/features/Events/asyncToasts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export const createToast = (options: ToastOptions) => {

return {
message,
...(option.invertVariant != undefined && {
...(option.invertVariant !== undefined && {
invertVariant: option.invertVariant,
}),
...(option.persist != undefined && { persist: option.persist }),
...(option.persist !== undefined && { persist: option.persist }),
};
};

Expand Down

0 comments on commit f17ffcc

Please sign in to comment.