ff-admin/src/stores/auth.ts

15 lines
231 B
TypeScript
Raw Normal View History

2024-08-23 14:42:32 +02:00
import { defineStore } from "pinia";
export const useAuthStore = defineStore("auth", {
state: () => {
return {
authCheck: false,
};
},
actions: {
setSuccess() {
this.authCheck = true;
},
},
});