diff --git a/vocodes/src/v2/profile/ProfileFc.tsx b/vocodes/src/v2/profile/ProfileFc.tsx index 690f6468c7..9dde3d133c 100644 --- a/vocodes/src/v2/profile/ProfileFc.tsx +++ b/vocodes/src/v2/profile/ProfileFc.tsx @@ -38,7 +38,7 @@ interface UserPayload { twitch_username?: string, twitter_username?: string, github_username?: string, - patreon_username?: string, + //patreon_username?: string, cashapp_username?: string, created_at: string, } @@ -149,15 +149,6 @@ function ProfileFc(props: Props) { ) } - if (userData !== undefined && userData.patreon_username) { - profileRows.push( - - Patreon - {userData.patreon_username} - - ) - } - return (

diff --git a/vocodes/src/v2/profile_edit/ProfileEditFc.tsx b/vocodes/src/v2/profile_edit/ProfileEditFc.tsx index 0492441dce..fa38d13431 100644 --- a/vocodes/src/v2/profile_edit/ProfileEditFc.tsx +++ b/vocodes/src/v2/profile_edit/ProfileEditFc.tsx @@ -33,7 +33,7 @@ interface UserPayload { twitch_username?: string, twitter_username?: string, github_username?: string, - patreon_username?: string, + //patreon_username?: string, cashapp_username?: string, created_at: string, } @@ -53,7 +53,7 @@ function ProfileEditFc(props: Props) { const [discord, setDiscord] = useState(""); const [twitter, setTwitter] = useState(""); const [twitch, setTwitch] = useState(""); - const [patreon, setPatreon] = useState(""); + //const [patreon, setPatreon] = useState(""); const [github, setGithub] = useState(""); const [cashApp, setCashApp] = useState(""); const [websiteUrl, setWebsiteUrl] = useState(""); @@ -84,7 +84,7 @@ function ProfileEditFc(props: Props) { setTwitch(profileResponse.user?.twitch_username || ""); setDiscord(profileResponse.user?.discord_username || ""); setCashApp(profileResponse.user?.cashapp_username || ""); - setPatreon(profileResponse.user?.patreon_username || ""); + //setPatreon(profileResponse.user?.patreon_username || ""); setGithub(profileResponse.user?.github_username || ""); setWebsiteUrl(profileResponse.user?.website_url || ""); }) @@ -118,10 +118,6 @@ function ProfileEditFc(props: Props) { setDiscord((ev.target as HTMLInputElement).value) }; - const handlePatreonChange = (ev: React.FormEvent) => { - setPatreon((ev.target as HTMLInputElement).value) - }; - const handleCashAppChange = (ev: React.FormEvent) => { setCashApp((ev.target as HTMLInputElement).value) }; @@ -143,7 +139,7 @@ function ProfileEditFc(props: Props) { discord_username: discord, cashapp_username: cashApp, github_username: github, - patreon_username: patreon, + //patreon_username: patreon, website_url: websiteUrl, } @@ -326,26 +322,6 @@ function ProfileEditFc(props: Props) { {/*

{downloadUrlInvalidReason}

*/}

-
- -
- - - - - - - -
- {/*

{downloadUrlInvalidReason}

*/} -
-