Skip to content

Commit e4faada

Browse files
committed
chore: fix format
1 parent 10c05c4 commit e4faada

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/packages/state.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ class Observer {
302302
const alreadyExists = this.toasts.find((toast) => {
303303
return toast.id === id
304304
})
305-
const dismissible = data?.dismissible === undefined ? true : data.dismissible
305+
const dismissible =
306+
data?.dismissible === undefined ? true : data.dismissible
306307

307308
if (this.dismissedToasts.has(id)) {
308309
this.dismissedToasts.delete(id)
@@ -312,7 +313,7 @@ class Observer {
312313
this.toasts = this.toasts.map((toast) => {
313314
if (toast.id === id) {
314315
this.publish({ ...toast, component, dismissible, id, ...data })
315-
return { ...toast, component, dismissible, id, ...data, }
316+
return { ...toast, component, dismissible, id, ...data }
316317
}
317318

318319
return toast

0 commit comments

Comments
 (0)