From ab494bcd94254940cdf12ce48e83ae81855a0e90 Mon Sep 17 00:00:00 2001 From: Melvin Snijders Date: Tue, 31 May 2022 10:43:17 +0200 Subject: [PATCH] Fixed read only exports issue --- composition/nuxt/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composition/nuxt/index.js b/composition/nuxt/index.js index 8b04bea..c99b102 100644 --- a/composition/nuxt/index.js +++ b/composition/nuxt/index.js @@ -1,5 +1,5 @@ const { useContext } = require("@nuxtjs/composition-api"); // eslint-disable-line @typescript-eslint/no-var-requires -export const useToast = () => useContext().app.$toast; +const useToast = () => useContext().app.$toast; module.exports = { useToast };