diff options
author | Vendicated <vendicated@riseup.net> | 2023-02-24 05:48:37 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-02-24 05:48:37 +0100 |
commit | af4c7d8a90cb8c943f082922798692af5be8578a (patch) | |
tree | 9dcb4c66cea23587442364dcd50322d6c49bfee5 /src/webpack/common | |
parent | 77c691651e72ba1569666d560f96af04bfde9a4e (diff) | |
download | Vencord-af4c7d8a90cb8c943f082922798692af5be8578a.tar.gz Vencord-af4c7d8a90cb8c943f082922798692af5be8578a.tar.bz2 Vencord-af4c7d8a90cb8c943f082922798692af5be8578a.zip |
Fix Cards (they look ugly now, wtf Discord)
Diffstat (limited to 'src/webpack/common')
-rw-r--r-- | src/webpack/common/components.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/common/components.ts b/src/webpack/common/components.ts index 27d103f..0c02971 100644 --- a/src/webpack/common/components.ts +++ b/src/webpack/common/components.ts @@ -32,7 +32,7 @@ export const Forms = { FormText: waitForComponent<t.FormText>("FormText", m => m.Types?.INPUT_PLACEHOLDER), }; -export const Card = waitForComponent<t.Card>("Card", m => m.Types?.PRIMARY === "cardPrimary"); +export const Card = waitForComponent<t.Card>("Card", m => m.Types?.PRIMARY && m.defaultProps); export const Button = waitForComponent<t.Button>("Button", ["Hovers", "Looks", "Sizes"]); export const Switch = waitForComponent<t.Switch>("Switch", filters.byCode("tooltipNote", "ringTarget")); export const Tooltip = waitForComponent<t.Tooltip>("Tooltip", ["Positions", "Colors"]); |