Skip to content

Commit

Permalink
findByName-ification attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
FieryFlames committed Mar 27, 2023
1 parent a894874 commit e64491f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/ui/components/AddToServerRow.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { findByDisplayName, findByProps, findByStoreName } from "@vendetta/metro";
import { findByName, findByProps } from "@vendetta/metro";
import { showInputAlert } from "@vendetta/ui/alerts";
import { getAssetIDByName } from "@vendetta/ui/assets";
import { Forms } from "@vendetta/ui/components";
import { showToast } from "@vendetta/ui/toasts";
import fetchImageAsDataURL from "../../lib/utils/fetchImageAsDataURL";

const { default: GuildIcon, GuildIconSizes } = findByProps("GuildIconSizes");
const Icon = findByDisplayName("Icon");
const Icon = findByName("Icon");
const { FormRow } = Forms;

const Emojis = findByProps("uploadEmoji");
Expand Down

0 comments on commit e64491f

Please sign in to comment.