diff options
Diffstat (limited to 'src/plugins/quickMention.tsx')
-rw-r--r-- | src/plugins/quickMention.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/quickMention.tsx b/src/plugins/quickMention.tsx index 0f8410b..1c0a6c6 100644 --- a/src/plugins/quickMention.tsx +++ b/src/plugins/quickMention.tsx @@ -16,11 +16,11 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { Devs } from "../utils/constants"; -import { lazyWebpack } from "../utils/misc"; -import definePlugin from "../utils/types"; +import { Devs } from "@utils/constants"; +import definePlugin from "@utils/types"; +import { findLazy } from "@webpack"; -const ComponentDispatch = lazyWebpack(m => m.emitter?._events?.INSERT_TEXT); +const ComponentDispatch = findLazy(m => m.emitter?._events?.INSERT_TEXT); export default definePlugin({ name: "QuickMention", |