Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jan 19, 2022
1 parent 994cb82 commit 78013a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/components/overlays/Notifications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
</template>

<script setup>
import Notification from './Notification'
import { useNuxtApp, useState } from '#app'
import Notification from './Notification'
const { $toast } = useNuxtApp()
const notifications = useState('notifications')
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/plugins/toast.client.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { nanoid } from 'nanoid'
import { Ref } from 'vue'
import { ToastNotification, ToastPlugin } from '../../types'
import { defineNuxtPlugin, useState } from '#app'
import { ToastNotification, ToastPlugin } from '../../types'

export default defineNuxtPlugin((nuxtApp) => {
const notifications: Ref<ToastNotification[]> = useState('notifications', () => [])
Expand Down

0 comments on commit 78013a7

Please sign in to comment.