15 lines
231 B
TypeScript
15 lines
231 B
TypeScript
|
import { defineStore } from "pinia";
|
||
|
|
||
|
export const useAuthStore = defineStore("auth", {
|
||
|
state: () => {
|
||
|
return {
|
||
|
authCheck: false,
|
||
|
};
|
||
|
},
|
||
|
actions: {
|
||
|
setSuccess() {
|
||
|
this.authCheck = true;
|
||
|
},
|
||
|
},
|
||
|
});
|