fix(Notifications): default value in useState

This commit is contained in:
Benjamin Canac
2022-02-02 12:06:27 +01:00
parent 85c8210ede
commit af566ab1fa

View File

@@ -25,5 +25,5 @@ import { useNuxtApp, useState } from '#app'
import Notification from './Notification'
const { $toast } = useNuxtApp()
const notifications = useState('notifications')
const notifications = useState('notifications', () => [])
</script>