mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
fix(Notifications): default value in useState
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user