1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

minor changes

This commit is contained in:
programminglaboratorys 2024-09-30 04:35:56 +03:00
parent 9f25f34780
commit 1571cd17dd

View file

@ -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 <ErrorBoundary>
<div className={StatusStyles.menuDivider} />