diff options
author | Lewis Crichton <lewi@lewisakura.moe> | 2023-03-01 20:35:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 21:35:08 +0100 |
commit | e6ccb751a04ce383c998d717196340c1b4b1da5f (patch) | |
tree | a0c82ba89fc1a1e41250cb2791b987001f42b175 /src/plugins/apiBadges.tsx | |
parent | dfc7a15083188f07dd9921155dda8139c43a32eb (diff) | |
download | Vencord-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/apiBadges.tsx')
-rw-r--r-- | src/plugins/apiBadges.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/apiBadges.tsx b/src/plugins/apiBadges.tsx index 3fe2f6b..14b548c 100644 --- a/src/plugins/apiBadges.tsx +++ b/src/plugins/apiBadges.tsx @@ -24,9 +24,10 @@ import { Heart } from "@components/Heart"; import { Devs } from "@utils/constants"; import IpcEvents from "@utils/IpcEvents"; import Logger from "@utils/Logger"; +import { Margins } from "@utils/margins"; import { closeModal, Modals, openModal } from "@utils/modal"; import definePlugin from "@utils/types"; -import { Forms, Margins } from "@webpack/common"; +import { Forms } from "@webpack/common"; const CONTRIBUTOR_BADGE = "https://media.discordapp.net/stickers/1026517526106087454.webp"; @@ -150,7 +151,7 @@ export default definePlugin({ <Forms.FormText> This Badge is a special perk for Vencord Donors </Forms.FormText> - <Forms.FormText className={Margins.marginTop20}> + <Forms.FormText className={Margins.top20}> Please consider supporting the development of Vencord by becoming a donor. It would mean a lot!! </Forms.FormText> </div> |