Skip to content

Commit

Permalink
findByName-ification
Browse files Browse the repository at this point in the history
  • Loading branch information
FieryFlames committed Mar 27, 2023
1 parent c4bbb15 commit 2b5ade1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ui/components/AddToServerRow.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { findByDisplayName, findByProps, findByStoreName } from "@vendetta/metro";
import { 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 { FormRow } = Forms;
const { FormRow: { default: FormRow, Icon } } = Forms;

const Emojis = findByProps("uploadEmoji");
const LazyActionSheet = findByProps("openLazy", "hideActionSheet");
Expand Down

0 comments on commit 2b5ade1

Please sign in to comment.