Skip to content

Commit

Permalink
Run yarn prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
simgar98 committed Feb 21, 2024
1 parent bbb362b commit 0bd80bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions src/core/store.ts
Expand Up @@ -68,10 +68,11 @@ export function removeToast(params?: Id | RemoveParams) {
});
} else if (params && ('containerId' in params || 'id' in params)) {
const container = containers.get(params.containerId);
container ? container.removeToast(params.id) :
containers.forEach(c => {
c.removeToast(params.id);
});
container
? container.removeToast(params.id)
: containers.forEach(c => {
c.removeToast(params.id);
});
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/toast.cy.tsx
Expand Up @@ -440,7 +440,7 @@ describe('with multi containers', () => {
.should('exist')
.then(() => {
toast.dismiss({
containerId: Containers.Third,
containerId: Containers.Third
});

cy.resolveEntranceAnimation();
Expand Down

0 comments on commit 0bd80bf

Please sign in to comment.