13 lines
267 B
TypeScript
13 lines
267 B
TypeScript
export const useSettingsStore = defineStore(
|
|
'picSettings',
|
|
() => {
|
|
const hideAnswers = ref(true);
|
|
|
|
return { hideAnswers };
|
|
},
|
|
{ persist: true }
|
|
);
|
|
if (import.meta.hot) {
|
|
import.meta.hot.accept(acceptHMRUpdate(useSettingsStore, import.meta.hot));
|
|
}
|