diff options
Diffstat (limited to 'src/plugins/quickMention.tsx')
-rw-r--r-- | src/plugins/quickMention.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/quickMention.tsx b/src/plugins/quickMention.tsx index 6e00dd0..fe3da56 100644 --- a/src/plugins/quickMention.tsx +++ b/src/plugins/quickMention.tsx @@ -19,10 +19,7 @@ import { addButton, removeButton } from "@api/MessagePopover"; import { Devs } from "@utils/constants"; import definePlugin from "@utils/types"; -import { findLazy } from "@webpack"; -import { ChannelStore } from "@webpack/common"; - -const ComponentDispatch = findLazy(m => m.emitter?._events?.INSERT_TEXT); +import { ChannelStore, ComponentDispatch } from "@webpack/common"; export default definePlugin({ name: "QuickMention", |