feat: handle setting of default context menu state variable only in app.vue
This commit is contained in:
parent
ce57b8e7db
commit
f1eda2da75
3 changed files with 3 additions and 7 deletions
|
@ -15,7 +15,7 @@ import type { ContextMenuInterface, GuildMemberResponse } from '~/types/interfac
|
|||
|
||||
const { getDisplayName } = useProfile()
|
||||
|
||||
const contextMenu = useState<ContextMenuInterface>("contextMenu", () => ({ show: false, pointerX: 0, pointerY: 0, items: [] }));
|
||||
const contextMenu = useState<ContextMenuInterface>("contextMenu");
|
||||
|
||||
const props = defineProps<{
|
||||
member: GuildMemberResponse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue