add shared profile and messages data

This commit is contained in:
riqo 2021-06-20 13:35:10 -05:00
commit 2c510765c0
12 changed files with 109 additions and 107 deletions

View file

@ -28,7 +28,7 @@
<script lang="ts">
import { defineComponent, ref } from "vue";
import useProfile from "@/render/composables/useProfile"
import { clearProfile } from "@/render/composables/useProfile"
import { invokeLogout } from "@/render/ipc";
export default defineComponent({
@ -37,8 +37,6 @@
setup() {
const toggleSettings = ref(false);
const { clearProfile } = useProfile();
// Listen for escape key to close settings.
const onEscape = (e: any) => {
if(e.key === "Escape") {