Skip to content

Commit

Permalink
chore: adjusted per aa's request
Browse files Browse the repository at this point in the history
  • Loading branch information
Tormak9970 committed Aug 9, 2023
1 parent fd0d011 commit 8a352d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/deck-components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ interface SimpleModalProps{
children: ReactNode
}

const ModalModule = findModuleChild((mod) => {
const ModalModule = findModule((mod) => {
if (typeof mod !== 'object' || !mod.__esModule) return undefined;
if (mod.SimpleModal && mod.ModalPosition) return mod;
})
Expand Down
4 changes: 2 additions & 2 deletions src/deck-components/Scroll.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FC, ReactNode } from "react";
import { findModuleChild } from "../webpack";
import { findModuleChild, findModule } from "../webpack";

const ScrollingModule = findModuleChild((mod) => {
const ScrollingModule = findModule((mod) => {
if (typeof mod !== 'object' || !mod.__esModule) return undefined;
if (mod.ScrollPanel) return mod;
});
Expand Down

0 comments on commit 8a352d2

Please sign in to comment.