Skip to content

Commit e64491f

Browse files
committed
findByName-ification attempt 2
1 parent a894874 commit e64491f

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

pnpm-lock.yaml

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ui/components/AddToServerRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { findByDisplayName, findByProps, findByStoreName } from "@vendetta/metro";
1+
import { findByName, findByProps } from "@vendetta/metro";
22
import { showInputAlert } from "@vendetta/ui/alerts";
33
import { getAssetIDByName } from "@vendetta/ui/assets";
44
import { Forms } from "@vendetta/ui/components";
55
import { showToast } from "@vendetta/ui/toasts";
66
import fetchImageAsDataURL from "../../lib/utils/fetchImageAsDataURL";
77

88
const { default: GuildIcon, GuildIconSizes } = findByProps("GuildIconSizes");
9-
const Icon = findByDisplayName("Icon");
9+
const Icon = findByName("Icon");
1010
const { FormRow } = Forms;
1111

1212
const Emojis = findByProps("uploadEmoji");

0 commit comments

Comments
 (0)