chore: Clean up
This commit is contained in:
@@ -7,12 +7,7 @@ import {
|
||||
useTemplateRef,
|
||||
inject,
|
||||
} from 'vue';
|
||||
import {
|
||||
useWindowSize,
|
||||
useElementBounding,
|
||||
useScrollLock,
|
||||
onClickOutside,
|
||||
} from '@vueuse/core';
|
||||
import { useWindowSize, useElementBounding, useScrollLock } from '@vueuse/core';
|
||||
|
||||
import TeleportWithDirection from 'dashboard/components-next/TeleportWithDirection.vue';
|
||||
|
||||
@@ -82,9 +77,6 @@ const handleClose = () => {
|
||||
emit('close');
|
||||
};
|
||||
|
||||
// Close menu when clicking outside
|
||||
onClickOutside(menuRef, handleClose);
|
||||
|
||||
onUnmounted(() => {
|
||||
isLocked.value = false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user