From af4c7d8a90cb8c943f082922798692af5be8578a Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 24 Feb 2023 05:48:37 +0100 Subject: [PATCH] Fix Cards (they look ugly now, wtf Discord) --- src/webpack/common/components.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpack/common/components.ts b/src/webpack/common/components.ts index 27d103fce..0c029715c 100644 --- a/src/webpack/common/components.ts +++ b/src/webpack/common/components.ts @@ -32,7 +32,7 @@ export const Forms = { FormText: waitForComponent("FormText", m => m.Types?.INPUT_PLACEHOLDER), }; -export const Card = waitForComponent("Card", m => m.Types?.PRIMARY === "cardPrimary"); +export const Card = waitForComponent("Card", m => m.Types?.PRIMARY && m.defaultProps); export const Button = waitForComponent("Button", ["Hovers", "Looks", "Sizes"]); export const Switch = waitForComponent("Switch", filters.byCode("tooltipNote", "ringTarget")); export const Tooltip = waitForComponent("Tooltip", ["Positions", "Colors"]);