diff --git a/client/components/App.vue b/client/components/App.vue index 9b251653..61bbb3b7 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -43,7 +43,7 @@ import { import {useStore} from "../js/store"; import type {DebouncedFunc} from "lodash"; -const imageViewerKey = Symbol() as InjectionKey>; +export const imageViewerKey = Symbol() as InjectionKey>; const contextMenuKey = Symbol() as InjectionKey>; const confirmDialogKey = Symbol() as InjectionKey>; @@ -51,14 +51,6 @@ export const useImageViewer = () => { return inject(imageViewerKey) as Ref; }; -export const useContextMenu = () => { - return inject(contextMenuKey) as Ref; -}; - -export const useConfirmDialog = () => { - return inject(confirmDialogKey) as Ref; -}; - export default defineComponent({ name: "App", components: { @@ -70,7 +62,6 @@ export default defineComponent({ }, setup() { const store = useStore(); - const overlay = ref(null); const loungeWindow = ref(null); const imageViewer = ref(null); diff --git a/client/components/Channel.vue b/client/components/Channel.vue index f3fe8399..839fea30 100644 --- a/client/components/Channel.vue +++ b/client/components/Channel.vue @@ -17,12 +17,12 @@ -