diff options
author | Lewis Crichton <lewi@lewisakura.moe> | 2023-03-01 20:35:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 21:35:08 +0100 |
commit | e6ccb751a04ce383c998d717196340c1b4b1da5f (patch) | |
tree | a0c82ba89fc1a1e41250cb2791b987001f42b175 /src/webpack | |
parent | dfc7a15083188f07dd9921155dda8139c43a32eb (diff) | |
download | Vencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.tar.gz Vencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.tar.bz2 Vencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.zip |
Fix for latest Discord Update (#550)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Co-authored-by: Vendicated <vendicated@riseup.net>
Diffstat (limited to 'src/webpack')
-rw-r--r-- | src/webpack/common/components.ts | 4 | ||||
-rw-r--r-- | src/webpack/common/types/components.d.ts | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/webpack/common/components.ts b/src/webpack/common/components.ts index 63511a7..4993b22 100644 --- a/src/webpack/common/components.ts +++ b/src/webpack/common/components.ts @@ -53,8 +53,4 @@ export const Slider = waitForComponent<t.Slider>("Slider", filters.byCode("close export const Flex = waitForComponent<t.Flex>("Flex", ["Justify", "Align", "Wrap"]); export const ButtonWrapperClasses = findByPropsLazy("buttonWrapper", "buttonContent") as Record<string, string>; -/** - * @deprecated Use @utils/margins instead - */ -export const Margins: t.Margins = findByPropsLazy("marginTop20"); export const ButtonLooks: t.ButtonLooks = findByPropsLazy("BLANK", "FILLED", "INVERTED"); diff --git a/src/webpack/common/types/components.d.ts b/src/webpack/common/types/components.d.ts index 4dfa7dc..a2e66bd 100644 --- a/src/webpack/common/types/components.d.ts +++ b/src/webpack/common/types/components.d.ts @@ -322,7 +322,4 @@ export type Flex = ComponentType<PropsWithChildren<any>> & { Direction: Record<"VERTICAL" | "HORIZONTAL" | "HORIZONTAL_REVERSE", string>; Justify: Record<"START" | "END" | "CENTER" | "BETWEEN" | "AROUND", string>; Wrap: Record<"NO_WRAP" | "WRAP" | "WRAP_REVERSE", string>; - - Content: ComponentType<PropsWithChildren<any>>; - Sidebar: ComponentType<PropsWithChildren<any>>; }; |