Skip to content

Commit

Permalink
fixed unintended long time before the notification disappears
Browse files Browse the repository at this point in the history
  • Loading branch information
crucials authored May 28, 2024
1 parent 7725a1d commit a8bff5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/electron/src/stores/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const useNotificationsStore = defineStore('notifications', () => {
setTimeout(() => {
notifications.value = notifications.value.filter(notification =>
notification.id !== newNotificationId)
}, secondsToShow * 10000)
}, secondsToShow * 1000)
}

return { notifications, showNotification }
})
})

0 comments on commit a8bff5d

Please sign in to comment.