mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 02:17:03 -04:00
Improve component finding api and migrate plugins to use them
This commit is contained in:
parent
371b5b0be8
commit
ffe6512693
14 changed files with 89 additions and 57 deletions
|
@ -386,7 +386,7 @@ export function findStore(name: string) {
|
|||
}
|
||||
|
||||
/**
|
||||
* findByDisplayName but lazy
|
||||
* findStore but lazy
|
||||
*/
|
||||
export function findStoreLazy(name: string) {
|
||||
return proxyLazy(() => findStore(name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue