aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/vcNarrator.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/vcNarrator.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/vcNarrator.tsx')
-rw-r--r--src/plugins/vcNarrator.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/vcNarrator.tsx b/src/plugins/vcNarrator.tsx
index b2904ac..7a06fe9 100644
--- a/src/plugins/vcNarrator.tsx
+++ b/src/plugins/vcNarrator.tsx
@@ -20,10 +20,11 @@ import { Settings } from "@api/settings";
import { ErrorCard } from "@components/ErrorCard";
import { Devs } from "@utils/constants";
import Logger from "@utils/Logger";
+import { Margins } from "@utils/margins";
import { wordsToTitle } from "@utils/text";
import definePlugin, { OptionType, PluginOptionsItem } from "@utils/types";
import { findByPropsLazy } from "@webpack";
-import { Button, ChannelStore, FluxDispatcher, Forms, Margins, SelectedChannelStore, useMemo, UserStore } from "@webpack/common";
+import { Button, ChannelStore, FluxDispatcher, Forms, SelectedChannelStore, useMemo, UserStore } from "@webpack/common";
interface VoiceState {
userId: string;
@@ -304,7 +305,7 @@ export default definePlugin({
</Forms.FormText>
{hasEnglishVoices && (
<>
- <Forms.FormTitle className={Margins.marginTop20} tag="h3">Play Example Sounds</Forms.FormTitle>
+ <Forms.FormTitle className={Margins.top20} tag="h3">Play Example Sounds</Forms.FormTitle>
<div
style={{
display: "grid",