Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
// cindy.chang@dsp.im (Cindy Chang), 2024/5/30
|
||||
/** @module stores/modal Account management modal state. */
|
||||
|
||||
import { defineStore } from 'pinia';
|
||||
import { MODAL_ACCT_INFO, } from '@/constants/constants.js';
|
||||
import { defineStore } from "pinia";
|
||||
import { MODAL_ACCT_INFO } from "@/constants/constants.js";
|
||||
|
||||
/** Pinia store for controlling account management modal visibility. */
|
||||
export const useModalStore = defineStore('modalStore', {
|
||||
export const useModalStore = defineStore("modalStore", {
|
||||
state: () => ({
|
||||
/** Whether a modal is currently open. */
|
||||
isModalOpen: false,
|
||||
@@ -27,7 +27,7 @@ export const useModalStore = defineStore('modalStore', {
|
||||
this.whichModal = whichModal;
|
||||
},
|
||||
/** Closes the currently open modal. */
|
||||
async closeModal(){
|
||||
async closeModal() {
|
||||
this.isModalOpen = false;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user