fix(ViewIcons): module not found (#382)
This commit is contained in:
parent
9c5a149fb1
commit
b8ed72286b
@ -24,7 +24,7 @@ import { find, findByPropsLazy } from "@webpack";
|
|||||||
import { Menu } from "@webpack/common";
|
import { Menu } from "@webpack/common";
|
||||||
import type { Guild } from "discord-types/general";
|
import type { Guild } from "discord-types/general";
|
||||||
|
|
||||||
const ImageModal = LazyComponent(() => find(m => m.prototype?.render?.toString().includes("OPEN_ORIGINAL_IMAGE")));
|
const ImageModal = LazyComponent(() => find(m => m.prototype?.render?.toString().includes("this.renderMobileCloseButton()")));
|
||||||
const MaskedLink = LazyComponent(() => find(m => m.type?.toString().includes("MASKED_LINK)")));
|
const MaskedLink = LazyComponent(() => find(m => m.type?.toString().includes("MASKED_LINK)")));
|
||||||
|
|
||||||
const GuildBannerStore = findByPropsLazy("getGuildBannerURL");
|
const GuildBannerStore = findByPropsLazy("getGuildBannerURL");
|
||||||
|
Loading…
Reference in New Issue
Block a user