import { defineStore } from "pinia";

export const useAppStore = defineStore("app", {
  state() {
    return {
      title: "",
      sceneId: "",
    };
  },
  getters: {},

  actions: {
    setData(data) {
      this.title = data;
    },
    setSceneId(data) {
      this.sceneId = data;
    },
  },

  unistorage: true,
});
