aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-01-07 03:19:28 +0100
committerVendicated <vendicated@riseup.net>2023-01-07 03:19:37 +0100
commit8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e (patch)
treec9d477c8091d2ce7ba7d233cd1befc1538450309 /src/utils
parentb8ed72286bfca5cbcae55ca37c5968079e43a352 (diff)
downloadVencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.tar.gz
Vencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.tar.bz2
Vencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.zip
Fix canary
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/modal.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/utils/modal.tsx b/src/utils/modal.tsx
index 9a90460..73dd009 100644
--- a/src/utils/modal.tsx
+++ b/src/utils/modal.tsx
@@ -55,12 +55,12 @@ interface ModalRootProps {
type RenderFunction = (props: ModalProps) => React.ReactNode;
-export const Modals = mapMangledModuleLazy("().closeWithCircleBackground", {
- ModalRoot: filters.byCode("().root"),
- ModalHeader: filters.byCode("().header"),
- ModalContent: filters.byCode("().content"),
- ModalFooter: filters.byCode("().footerSeparator"),
- ModalCloseButton: filters.byCode("().closeWithCircleBackground"),
+export const Modals = mapMangledModuleLazy(".closeWithCircleBackground", {
+ ModalRoot: filters.byCode(".root"),
+ ModalHeader: filters.byCode(".header"),
+ ModalContent: filters.byCode(".content"),
+ ModalFooter: filters.byCode(".footerSeparator"),
+ ModalCloseButton: filters.byCode(".closeWithCircleBackground"),
});
export const ModalRoot = (props: ModalRootProps) => <Modals.ModalRoot {...props} />;