mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-19 01:20:20 +02:00
chore: adjusted per aa's request
This commit is contained in:
@@ -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;
|
||||
})
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user