aboutsummaryrefslogtreecommitdiff
path: root/src/webpack
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-15 09:30:33 +0100
committerVendicated <vendicated@riseup.net>2022-11-15 09:30:33 +0100
commitbe088f907216aca4cf89a0dd6aba3bcc20684cca (patch)
tree348c200576c34ac92238c0ce19e065ecfdbd3bfd /src/webpack
parent2ca98a87d298586df331fda2fedfade5375c0cac (diff)
downloadVencord-be088f907216aca4cf89a0dd6aba3bcc20684cca.tar.gz
Vencord-be088f907216aca4cf89a0dd6aba3bcc20684cca.tar.bz2
Vencord-be088f907216aca4cf89a0dd6aba3bcc20684cca.zip
Don't unnecessarily create functions many times
Diffstat (limited to 'src/webpack')
-rw-r--r--src/webpack/common.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx
index f929350..a8d67ca 100644
--- a/src/webpack/common.tsx
+++ b/src/webpack/common.tsx
@@ -142,8 +142,8 @@ waitFor(filters.byCode("helpdeskArticleId"), m => Switch = m);
waitFor(["Positions", "Colors"], m => Tooltip = m);
waitFor(m => m.Types?.PRIMARY === "cardPrimary", m => Card = m);
-waitFor(m => filters.byCode("errorSeparator")(m), m => Forms.FormTitle = m);
-waitFor(m => filters.byCode("titleClassName", "sectionTitle")(m), m => Forms.FormSection = m);
+waitFor(filters.byCode("errorSeparator"), m => Forms.FormTitle = m);
+waitFor(filters.byCode("titleClassName", "sectionTitle"), m => Forms.FormSection = m);
waitFor(m => m.Types?.INPUT_PLACEHOLDER, m => Forms.FormText = m);
waitFor(m => {