Skip to content

Commit

Permalink
fix(Notifications): default value in useState
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Feb 2, 2022
1 parent 85c8210 commit af566ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/overlays/Notifications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>

1 comment on commit af566ab

@vercel
Copy link

@vercel vercel bot commented on af566ab Feb 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.