mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
hotfix
This commit is contained in:
@@ -93,7 +93,7 @@ export abstract class AbstractWebNotificationManager {
|
||||
|
||||
if (notification.autoCloseMs === null) return
|
||||
|
||||
const delay = notification.autoCloseMs ?? DEFAULT_AUTO_DISMISS_DELAY_MS
|
||||
const delay = notification.autoCloseMs ?? this.DEFAULT_AUTO_DISMISS_DELAY_MS
|
||||
|
||||
notification.timer = setTimeout(() => {
|
||||
this.removeNotification(notification.id)
|
||||
|
||||
Reference in New Issue
Block a user