use const instead of var

This commit is contained in:
Keviin Åberg Kultalahti 2021-01-22 13:11:38 +01:00
parent 3f8d57eadb
commit 640043685d
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import { writable, derived } from "svelte/store" import { writable, derived } from "svelte/store"
import { generate } from "shortid" import { generate } from "shortid"
let NOTIFICATION_TIMEOUT = 3000 const NOTIFICATION_TIMEOUT = 3000
const createNotificationStore = () => { const createNotificationStore = () => {
const _notifications = writable([]) const _notifications = writable([])