diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-15 09:30:33 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-15 09:30:33 +0100 |
commit | be088f907216aca4cf89a0dd6aba3bcc20684cca (patch) | |
tree | 348c200576c34ac92238c0ce19e065ecfdbd3bfd /src/webpack/common.tsx | |
parent | 2ca98a87d298586df331fda2fedfade5375c0cac (diff) | |
download | Vencord-be088f907216aca4cf89a0dd6aba3bcc20684cca.tar.gz Vencord-be088f907216aca4cf89a0dd6aba3bcc20684cca.tar.bz2 Vencord-be088f907216aca4cf89a0dd6aba3bcc20684cca.zip |
Don't unnecessarily create functions many times
Diffstat (limited to 'src/webpack/common.tsx')
-rw-r--r-- | src/webpack/common.tsx | 4 |
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 => { |