diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-06 18:37:01 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-06 18:37:01 +0100 |
commit | 963a7332b4daa183ec2d8d3ddf10f3f73b01746a (patch) | |
tree | 6eaecd2af5bc67222eb9748c7bf948fbf3c17a1a /src/webpack/webpack.ts | |
parent | 440baf6028be926929497c14e9ab4610cddd255d (diff) | |
download | Vencord-963a7332b4daa183ec2d8d3ddf10f3f73b01746a.tar.gz Vencord-963a7332b4daa183ec2d8d3ddf10f3f73b01746a.tar.bz2 Vencord-963a7332b4daa183ec2d8d3ddf10f3f73b01746a.zip |
Migrate proxied components to and fix LazyComponent
Diffstat (limited to 'src/webpack/webpack.ts')
-rw-r--r-- | src/webpack/webpack.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index 4f78f73..1a3e15d 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -290,6 +290,10 @@ export function findAllByProps(...props: string[]) { return findAll(filters.byProps(...props)); } +export function findByCode(...code: string[]) { + return find(filters.byCode(...code)); +} + export function findByDisplayName(deezNuts: string) { return find(filters.byDisplayName(deezNuts)); } |