From 1571cd17dde68251044a285d42428d66a3acdf6c Mon Sep 17 00:00:00 2001 From: programminglaboratorys Date: Mon, 30 Sep 2024 04:35:56 +0300 Subject: [PATCH] minor changes --- src/plugins/statusPresets/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/statusPresets/index.tsx b/src/plugins/statusPresets/index.tsx index 99d5d076d..ed5de2859 100644 --- a/src/plugins/statusPresets/index.tsx +++ b/src/plugins/statusPresets/index.tsx @@ -133,12 +133,12 @@ export default definePlugin({ { find: ".Messages.STATUS_MENU_LABEL", replacement: { - match: /!\i&&(.{0,15}\i\.Fragment.+null==(\i).+customEmojiPlaceholder\}\),onClick:([^}]+))/, - replace: "$self.render($2, $3}),false&&$1" + match: /!\i&&(.{0,15}\i\.Fragment.+null==(\i).+customEmojiPlaceholder\}\),onClick:([^}]+}))/, + replace: "$self.render($2, $3),false&&$1" } } ], - render(status, openCustomStatusModal: () => void) { + render(status: null | { emoji: Emoji | null; }, openCustomStatusModal: () => void) { if (!customStatusSettings) return; return