From 20f9c7a06997479dcd2557b81901da5845ca00f1 Mon Sep 17 00:00:00 2001 From: LoneWeeb <73281112+Tharki-God@users.noreply.github.com> Date: Fri, 8 Dec 2023 06:31:26 +0530 Subject: [PATCH] Update DecorSection.tsx --- src/ui/components/DecorSection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/components/DecorSection.tsx b/src/ui/components/DecorSection.tsx index 38b0ff9..9c78161 100644 --- a/src/ui/components/DecorSection.tsx +++ b/src/ui/components/DecorSection.tsx @@ -6,7 +6,7 @@ import { openChangeDecorationModal } from "../modals/ChangeDecorationModal"; const { React } = common const { Flex, Button } = components -const CustomizationSection = webpack.getBySource(".customizationSectionBackground"); +let CustomizationSection; interface DecorSectionProps { @@ -17,7 +17,7 @@ interface DecorSectionProps { export default function DecorSection({ hideTitle = false, hideDivider = false, noMargin = false }: DecorSectionProps) { - + CustomizationSection ??= webpack.getBySource(".customizationSectionBackground"); const authorization = useAuthorizationStore(); const { selectedDecoration, select: selectDecoration, fetch: fetchDecorations } = useCurrentUserDecorationsStore();