diff options
Diffstat (limited to 'src/plugins/gifPaste.ts')
-rw-r--r-- | src/plugins/gifPaste.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gifPaste.ts b/src/plugins/gifPaste.ts index 9b6e8a9..fa64f30 100644 --- a/src/plugins/gifPaste.ts +++ b/src/plugins/gifPaste.ts @@ -18,12 +18,12 @@ import { Devs } from "@utils/constants"; import definePlugin from "@utils/types"; -import { filters, findLazy, mapMangledModuleLazy } from "@webpack"; +import { filters, mapMangledModuleLazy } from "@webpack"; +import { ComponentDispatch } from "@webpack/common"; const ExpressionPickerState = mapMangledModuleLazy('name:"expression-picker-last-active-view"', { close: filters.byCode("activeView:null", "setState") }); -const ComponentDispatch = findLazy(m => m.emitter?._events?.INSERT_TEXT); export default definePlugin({ name: "GifPaste", |