From 8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59 Mon Sep 17 00:00:00 2001 From: Ven Date: Sun, 30 Oct 2022 20:45:18 +0100 Subject: Webpack Warnings & Errors (#178) * dev: Useful strict Warnings & Errors * Always log error * Ignore pending patches with all or whose predicate = false * Error -> Warn --- src/plugins/pronoundb/components/PronounsChatComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/pronoundb/components') diff --git a/src/plugins/pronoundb/components/PronounsChatComponent.tsx b/src/plugins/pronoundb/components/PronounsChatComponent.tsx index ec4de98..2d20461 100644 --- a/src/plugins/pronoundb/components/PronounsChatComponent.tsx +++ b/src/plugins/pronoundb/components/PronounsChatComponent.tsx @@ -25,7 +25,7 @@ import { UserStore } from "../../../webpack/common"; import { PronounMapping } from "../types"; import { fetchPronouns, formatPronouns } from "../utils"; -const styles: Record = lazyWebpack(filters.byProps(["timestampInline"])); +const styles: Record = lazyWebpack(filters.byProps("timestampInline")); export default function PronounsChatComponent({ message }: { message: Message; }) { // Don't bother fetching bot or system users -- cgit