diff --git a/components/Guild/MemberEntry.vue b/components/Guild/MemberEntry.vue index a5f66fb..0c7afa0 100644 --- a/components/Guild/MemberEntry.vue +++ b/components/Guild/MemberEntry.vue @@ -15,7 +15,7 @@ import type { ContextMenuInterface, GuildMemberResponse } from '~/types/interfac const { getDisplayName } = useProfile() -const contextMenu = useState("contextMenu", () => ({ show: false, pointerX: 0, pointerY: 0, items: [] })); +const contextMenu = useState("contextMenu"); const props = defineProps<{ member: GuildMemberResponse diff --git a/components/Message.vue b/components/Message.vue index bfb6af6..9d33ac0 100644 --- a/components/Message.vue +++ b/components/Message.vue @@ -76,7 +76,7 @@ const route = useRoute(); const props = defineProps(); -const contextMenu = useState("contextMenu", () => ({ show: false, pointerX: 0, pointerY: 0, items: [] })); +const contextMenu = useState("contextMenu"); const messageElement = ref(); diff --git a/components/UserInterface/ResizableSidebar.vue b/components/UserInterface/ResizableSidebar.vue index 79e95bd..e36c8a6 100644 --- a/components/UserInterface/ResizableSidebar.vue +++ b/components/UserInterface/ResizableSidebar.vue @@ -1,5 +1,5 @@