From f9165208e2a80a87d5525baff778f46348a9e937 Mon Sep 17 00:00:00 2001 From: Samantha Kraft Date: Mon, 22 Jul 2024 16:16:00 -0400 Subject: [PATCH] update package and syntax --- package.json | 2 +- plugins/dashboard.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 90a069da..d77ffeff 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "plyr": "^3.7.8", "postscribe": "^2.0.8", "ramda": "^0.29.0", - "sparc-dashboard-beta": "^0.2.0", + "sparc-dashboard-beta": "^0.2.5", "sparc-design-system-components-2": "0.0.26", "striptags": "^3.2.0", "uint8array-extras": "^1.0.0", diff --git a/plugins/dashboard.js b/plugins/dashboard.js index 9212931e..0ce407bd 100644 --- a/plugins/dashboard.js +++ b/plugins/dashboard.js @@ -1,6 +1,6 @@ -import { install } from 'sparc-dashboard-beta/dist/index.js' +import { installDashboard } from 'sparc-dashboard-beta/dist/index.js' import 'sparc-dashboard-beta/dist/style.css' export default defineNuxtPlugin((nuxtApp) => { - install(nuxtApp.vueApp, nuxtApp.$pinia) + installDashboard(nuxtApp.vueApp, nuxtApp.$pinia) })