4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-18 06:57:05 +00:00

Remove redundant player store init.

This commit is contained in:
Buster Neece 2023-11-16 15:24:36 -06:00
parent 34e739b564
commit 4f86b2231a
No known key found for this signature in database

View File

@ -1,15 +1,12 @@
import {useAzuraCast} from "~/vendor/azuracast";
import {Component, h} from "vue";
import PanelLayoutComponent from "~/components/PanelLayout.vue";
import {useProvidePlayerStore} from "~/functions/usePlayerStore.ts";
export default function usePanelLayout(component: Component) {
return {
setup() {
const {panelProps, componentProps} = useAzuraCast();
useProvidePlayerStore('global');
return {
panelProps,
componentProps