aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/emoteCloner.tsx
diff options
context:
space:
mode:
authorLewis Crichton <lewi@lewisakura.moe>2023-03-01 20:35:08 +0000
committerGitHub <noreply@github.com>2023-03-01 21:35:08 +0100
commite6ccb751a04ce383c998d717196340c1b4b1da5f (patch)
treea0c82ba89fc1a1e41250cb2791b987001f42b175 /src/plugins/emoteCloner.tsx
parentdfc7a15083188f07dd9921155dda8139c43a32eb (diff)
downloadVencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.tar.gz
Vencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.tar.bz2
Vencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.zip
Fix for latest Discord Update (#550)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Co-authored-by: Vendicated <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/emoteCloner.tsx')
-rw-r--r--src/plugins/emoteCloner.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/emoteCloner.tsx b/src/plugins/emoteCloner.tsx
index 15d1358..e252fe5 100644
--- a/src/plugins/emoteCloner.tsx
+++ b/src/plugins/emoteCloner.tsx
@@ -20,11 +20,12 @@ import { migratePluginSettings, Settings } from "@api/settings";
import { CheckedTextInput } from "@components/CheckedTextInput";
import { Devs } from "@utils/constants";
import Logger from "@utils/Logger";
+import { Margins } from "@utils/margins";
import { makeLazy } from "@utils/misc";
import { ModalContent, ModalHeader, ModalRoot, openModal } from "@utils/modal";
import definePlugin from "@utils/types";
import { findByCodeLazy, findByPropsLazy } from "@webpack";
-import { Forms, GuildStore, Margins, Menu, PermissionStore, React, Toasts, Tooltip, UserStore } from "@webpack/common";
+import { Forms, GuildStore, Menu, PermissionStore, React, Toasts, Tooltip, UserStore } from "@webpack/common";
const MANAGE_EMOJIS_AND_STICKERS = 1n << 30n;
@@ -96,7 +97,7 @@ function CloneModal({ id, name: emojiName, isAnimated }: { id: string; name: str
return (
<>
- <Forms.FormTitle className={Margins.marginTop20}>Custom Name</Forms.FormTitle>
+ <Forms.FormTitle className={Margins.top20}>Custom Name</Forms.FormTitle>
<CheckedTextInput
value={name}
onChange={setName}