Skip to content

Commit

Permalink
fix: fix reactivity for notifications values plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetansenn committed May 24, 2024
1 parent 7dd6a26 commit 66ec54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/others/notification/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Timer from '../../utils/timer'
import WrapperComponent from './NotificationWrapper'

const timeout = 5000
const notifications = []
const notifications = Vue.observable([])

export default function (ctx, inject) {
if (process.server) return false
Expand Down

0 comments on commit 66ec54b

Please sign in to comment.