From e6ccb751a04ce383c998d717196340c1b4b1da5f Mon Sep 17 00:00:00 2001 From: Lewis Crichton Date: Wed, 1 Mar 2023 20:35:08 +0000 Subject: Fix for latest Discord Update (#550) Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Co-authored-by: Vendicated --- src/webpack/common/components.ts | 4 ---- src/webpack/common/types/components.d.ts | 3 --- 2 files changed, 7 deletions(-) (limited to 'src/webpack/common') 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("Slider", filters.byCode("close export const Flex = waitForComponent("Flex", ["Justify", "Align", "Wrap"]); export const ButtonWrapperClasses = findByPropsLazy("buttonWrapper", "buttonContent") as Record; -/** - * @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> & { 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>; - Sidebar: ComponentType>; }; -- cgit