From 0b4ae729a3fecf017583fb968b11ab46e584e0ce Mon Sep 17 00:00:00 2001 From: Syncx <47534062+Syncxv@users.noreply.github.com> Date: Sat, 25 Mar 2023 13:37:29 +1100 Subject: feat(plugin): SearchReply (#551) Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Co-authored-by: Vendicated --- src/plugins/messageLogger/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/plugins/messageLogger') diff --git a/src/plugins/messageLogger/index.tsx b/src/plugins/messageLogger/index.tsx index e337393..4b4e0e9 100644 --- a/src/plugins/messageLogger/index.tsx +++ b/src/plugins/messageLogger/index.tsx @@ -25,13 +25,12 @@ import ErrorBoundary from "@components/ErrorBoundary"; import { Devs } from "@utils/constants"; import Logger from "@utils/Logger"; import definePlugin, { OptionType } from "@utils/types"; -import { findByPropsLazy, findLazy } from "@webpack"; -import { FluxDispatcher, Menu, moment, Parser, Timestamp, UserStore } from "@webpack/common"; +import { findByPropsLazy } from "@webpack"; +import { FluxDispatcher, i18n, Menu, moment, Parser, Timestamp, UserStore } from "@webpack/common"; import overlayStyle from "./deleteStyleOverlay.css?managed"; import textStyle from "./deleteStyleText.css?managed"; -const i18n = findLazy(m => m.Messages?.["en-US"]); const styles = findByPropsLazy("edited", "communicationDisabled", "isSystemMessage"); function addDeleteStyle() { -- cgit