refactor ipcEmit event
This commit is contained in:
parent
2c510765c0
commit
95e3dab1c2
6 changed files with 14 additions and 21 deletions
|
|
@ -1,9 +1,9 @@
|
|||
// shared
|
||||
import { ref } from "vue";
|
||||
|
||||
export let profile = ref();
|
||||
export const profile = ref();
|
||||
|
||||
export let authComplete = ref(false);
|
||||
export const authComplete = ref(false);
|
||||
|
||||
export const setProfile: IpcListenerCallback<Profile | null> = (payload) => {
|
||||
payload ? profile.value = payload : clearProfile();
|
||||
|
|
|
|||
Loading…
Reference in a new issue