diff --git a/src/plugins/statusPresets/index.tsx b/src/plugins/statusPresets/index.tsx index 135db782d..21bafe466 100644 --- a/src/plugins/statusPresets/index.tsx +++ b/src/plugins/statusPresets/index.tsx @@ -32,8 +32,7 @@ const EmojiComponent = findComponentByCodeLazy(/\i.translateSurrogatesToInlineEm const StatusStyles = findByPropsLazy("statusItem"); const customStatusSettings = getUserSettingLazy("status", "customStatus"); -const setStatusFunc = findByCodeLazy(/default\.track\(\i.\i.CUSTOM_STATUS_UPDATED/); -const setStatus = (status: DiscordStatus) => setStatusFunc(status.text, status.emojiInfo, status.clearAfter, { "location": { "section": "Account Panel", "object": "Avatar" } }); +const setStatus = findByCodeLazy(/default\.track\(\i.\i.CUSTOM_STATUS_UPDATED/); interface Emoji { animated: boolean; @@ -93,7 +92,7 @@ const StatusSubMenuComponent = () => { {Object.values((settings.store.StatusPresets as { [k: string]: DiscordStatus; })).map(status =>