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:
parent
34e739b564
commit
4f86b2231a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user