[Cleanup] Several small cleanups
This commit is contained in:
parent
985115cd9b
commit
a8b5beff6e
6 changed files with 11 additions and 14 deletions
|
@ -24,6 +24,7 @@ for (const key in window.modules) {
|
|||
}
|
||||
}
|
||||
|
||||
// Early find logic
|
||||
const basicFind = (prop: string) => Object.values(window.modules).find(m => m.publicModule.exports?.[prop]).publicModule.exports;
|
||||
|
||||
// Hoist React
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue