From fe97d897aec4e61ddbe821d1d944c61e61a2d40c Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Wed, 23 Oct 2024 13:11:35 +0300 Subject: [PATCH 1/4] premium guilds --- .../TcDiscordIntegrationSettingsDialog.tsx | 161 ++++++++++-------- .../pages/pageIndex/HeatmapChart.tsx | 57 ++++--- .../statistics/ActiveMembersComposition.tsx | 12 +- .../DisengagedMembersComposition.tsx | 16 +- .../pages/statistics/InactiveMembers.tsx | 16 +- .../pages/statistics/InteractionsSection.tsx | 14 +- .../pages/statistics/Onboarding.tsx | 14 +- src/pages/statistics.tsx | 47 +++-- 8 files changed, 191 insertions(+), 146 deletions(-) diff --git a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx index 8bb8b720..c95a3ffa 100644 --- a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx +++ b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx @@ -12,12 +12,13 @@ import React, { useEffect, useState } from 'react'; import { AiOutlineClose } from 'react-icons/ai'; import { FiRefreshCcw } from 'react-icons/fi'; import { IoClose, IoSettingsSharp } from 'react-icons/io5'; -import { MdExpandMore } from 'react-icons/md'; +import { MdCalendarMonth, MdExpandMore } from 'react-icons/md'; import { MdChevronRight } from 'react-icons/md'; import { RiTimeLine } from 'react-icons/ri'; import TcCommunityPlatformIcon from './TcCommunityPlatformIcon'; import TcButton from '../../shared/TcButton'; +import TcDatePickerPopover from '../../shared/TcDatePickerPopover'; import TcDialog from '../../shared/TcDialog'; import TcSwitch from '../../shared/TcSwitch'; import TcText from '../../shared/TcText'; @@ -29,6 +30,12 @@ import { truncateCenter } from '../../../helpers/helper'; import useAppStore from '../../../store/useStore'; import { IPlatformProps } from '../../../utils/interfaces'; +export const PREMIUM_GUILDS = [ + '732892373507375164', + '1012430565959553145', + '915914985140531240', +]; + interface TcDiscordIntegrationSettingsDialog { platform: IPlatformProps; handleUpdateCommunityPlatform: () => void; @@ -48,10 +55,10 @@ function TcDiscordIntegrationSettingsDialog({ const [isAnalyizingDialogOpen, setIsAnalyizingDialogOpen] = useState(false); const [isDeleteDialogOpen, setIsDeleteDialogOpen] = useState(false); - // const [anchorEl, setAnchorEl] = useState(null); + const [anchorEl, setAnchorEl] = useState(null); const [dateTimeDisplay, setDateTimeDisplay] = useState('Filter Date'); - // const [selectedDate, setSelectedDate] = useState(); + const [selectedDate, setSelectedDate] = useState(null); const [selectedChannels, setSelectedChannels] = useState([]); @@ -98,12 +105,12 @@ function TcDiscordIntegrationSettingsDialog({ setDateTimeDisplay(newDateTimeDisplay); } - // if ( - // !selectedDate || - // (selectedDate && period && selectedDate.toISOString() !== period) - // ) { - // setSelectedDate(new Date(period)); - // } + if ( + !selectedDate || + (selectedDate && period && selectedDate.toISOString() !== period) + ) { + setSelectedDate(new Date(period)); + } setLoading(true); const data = await retrievePlatformProperties({ platformId: platform.id, @@ -173,13 +180,15 @@ function TcDiscordIntegrationSettingsDialog({ const handlePatchDiscordIntegrationSettings = async () => { try { + const period = PREMIUM_GUILDS.includes(platform?.metadata?.id) + ? selectedDate?.toISOString() + : new Date(new Date().setDate(new Date().getDate() - 90)).toISOString(); + const data = await patchPlatformById({ id: platform.id, metadata: { selectedChannels: selectedChannels, - period: new Date( - new Date().setDate(new Date().getDate() - 90) - ).toISOString(), + period: period, analyzerStartedAt: new Date().toISOString(), }, }); @@ -189,7 +198,9 @@ function TcDiscordIntegrationSettingsDialog({ router.replace('/community-settings', {}, { shallow: true }); setIsAnalyizingDialogOpen(true); } - } catch (error) {} + } catch (error) { + console.error('Error updating Discord integration settings:', error); + } }; const handleDisconnectDiscordIntegration = async ( @@ -219,32 +230,32 @@ function TcDiscordIntegrationSettingsDialog({ } }; - // const datePickerOpen = Boolean(anchorEl); - // const id = open ? 'date-time-popover' : undefined; + const datePickerOpen = Boolean(anchorEl); + const id = open ? 'date-time-popover' : undefined; - // const handleClick = (event: React.MouseEvent) => { - // setAnchorEl(event.currentTarget); - // }; + const handleClick = (event: React.MouseEvent) => { + setAnchorEl(event.currentTarget); + }; - // const handleDateChange = (date: Date | null) => { - // if (date) { - // setSelectedDate(date); - // const fullDateTime = moment(date); - // setDateTimeDisplay(fullDateTime.format('D MMMM YYYY')); - // setAnchorEl(null); - // } - // }; + const handleDateChange = (date: Date | null) => { + if (date) { + setSelectedDate(date); + const fullDateTime = moment(date); + setDateTimeDisplay(fullDateTime.format('D MMMM YYYY')); + setAnchorEl(null); + } + }; - // const handleClose = () => { - // setAnchorEl(null); - // }; + const handleClose = () => { + setAnchorEl(null); + }; - // const resetDateFilter = () => { - // setSelectedDate(null); - // setDateTimeDisplay('Filter Date'); + const resetDateFilter = () => { + setSelectedDate(null); + setDateTimeDisplay('Filter Date'); - // setAnchorEl(null); - // }; + setAnchorEl(null); + }; return ( <> @@ -303,46 +314,52 @@ function TcDiscordIntegrationSettingsDialog({ /> - - Analyzing Your Community Data - - We're currently analyzing 90 days of your community's data. - This process may take up to 6 hours. Once the analysis is - complete, you will receive a message on Discord. - - - {/*
- - -
*/} - {/*
- } - onClick={handleClick} - text={dateTimeDisplay} - aria-describedby={id} - /> + {PREMIUM_GUILDS.includes(platform?.metadata?.id) ? ( + <> +
+ + +
+
+ } + onClick={handleClick} + text={dateTimeDisplay} + aria-describedby={id} + /> + + +
+ + ) : ( + + Analyzing Your Community Data + + We're currently analyzing 90 days of your community's data. + This process may take up to 6 hours. Once the analysis is + complete, you will receive a message on Discord. + + + )} - -
*/}
{ const { community } = useToken(); - const platformId = community?.platforms.find( + const platform = community?.platforms.find( (platform) => platform.disconnectedAt === null && platform.name === 'discord' - )?.id; + ); const fetchData = async () => { if (showOverlay) return; setLoading(true); try { - if (platformId) { + if (platform?.id) { const data = await fetchHeatmapData( - platformId, + platform.id, dateRange[0], dateRange[1], selectedZone, @@ -139,6 +140,16 @@ const HeatmapChart = () => { const handleDateRange = (dateRangeType: number): void => { let endDate: moment.Moment = moment().subtract(1, 'day'); let startDate: moment.Moment = moment(endDate).subtract(7, 'days'); + const isPremiumGuild = + platform?.metadata?.id && PREMIUM_GUILDS.includes(platform.metadata.id); + + const handleNonPremiumLoading = () => { + setShowOverlay(true); + setLoading(true); + setTimeout(() => { + setLoading(false); + }, 300); + }; switch (dateRangeType) { case 1: @@ -161,20 +172,26 @@ const HeatmapChart = () => { break; case 4: setActiveDateRange(dateRangeType); - setShowOverlay(true); - setLoading(true); - setTimeout(() => { - setLoading(false); - }, 300); + if (isPremiumGuild) { + startDate = moment(endDate).subtract(6, 'months'); + endDate = moment().subtract(1, 'day'); + setShowOverlay(false); + } else { + handleNonPremiumLoading(); + } break; + case 5: setActiveDateRange(dateRangeType); - setShowOverlay(true); - setLoading(true); - setTimeout(() => { - setLoading(false); - }, 300); + if (isPremiumGuild) { + startDate = moment(endDate).subtract(12, 'months'); + endDate = moment().subtract(1, 'day'); + setShowOverlay(false); + } else { + handleNonPremiumLoading(); + } break; + default: break; } @@ -195,14 +212,14 @@ const HeatmapChart = () => { const fetchPlatformChannels = async () => { try { - if (platformId) { - const data = await retrievePlatformById(platformId); + if (platform?.id) { + const data = await retrievePlatformById(platform.id); const { metadata } = data; if (metadata) { const { selectedChannels } = metadata; - await refreshData(platformId, 'channel', selectedChannels, true); + await refreshData(platform.id, 'channel', selectedChannels, true); } else { - await refreshData(platformId); + await refreshData(platform.id); } setPlatformFetched(true); } @@ -212,11 +229,11 @@ const HeatmapChart = () => { }; useEffect(() => { - if (!platformId || showOverlay) { + if (!platform?.id || showOverlay) { return; } fetchData(); - }, [dateRange, selectedZone, platformId, platformFetched]); + }, [dateRange, selectedZone, platform?.id, platformFetched]); return (
diff --git a/src/components/pages/statistics/ActiveMembersComposition.tsx b/src/components/pages/statistics/ActiveMembersComposition.tsx index a64b3dad..436efa2d 100644 --- a/src/components/pages/statistics/ActiveMembersComposition.tsx +++ b/src/components/pages/statistics/ActiveMembersComposition.tsx @@ -15,6 +15,7 @@ import { SeriesData, StatisticsProps } from '../../../utils/interfaces'; export interface ActiveMembersComposition { activePeriod: number; + isPremiumGuild: boolean; handleDateRange: (range: number) => void; } @@ -62,6 +63,7 @@ const defaultOptions = { export default function ActiveMembersComposition({ activePeriod, + isPremiumGuild = false, handleDateRange, }: ActiveMembersComposition) { const router = useRouter(); @@ -254,12 +256,10 @@ export default function ActiveMembersComposition({ }; useEffect(() => { - if (activePeriod === 4 || activePeriod === 5) { - setShowOverlay(true); - } else { - setShowOverlay(false); - } - }, [activePeriod]); + const shouldShowOverlay = + !isPremiumGuild && (activePeriod === 4 || activePeriod === 5); + setShowOverlay(shouldShowOverlay); + }, [activePeriod, isPremiumGuild]); return ( <> diff --git a/src/components/pages/statistics/DisengagedMembersComposition.tsx b/src/components/pages/statistics/DisengagedMembersComposition.tsx index 0dd78e14..a7410f97 100644 --- a/src/components/pages/statistics/DisengagedMembersComposition.tsx +++ b/src/components/pages/statistics/DisengagedMembersComposition.tsx @@ -1,5 +1,7 @@ +import { Alert, AlertTitle, IconButton,Typography } from '@mui/material'; import router from 'next/router'; import { useEffect, useState } from 'react'; +import { FaDiscord, FaEnvelope, FaTelegram, FaXTwitter } from 'react-icons/fa6'; import { FiCalendar } from 'react-icons/fi'; import DisengagedMembersCompositionBreakdown from './memberBreakdowns/disengagedMembersComposition/DisengagedMembersCompositionBreakdown'; @@ -10,11 +12,10 @@ import RangeSelect from '../../global/RangeSelect'; import { communityActiveDates } from '../../../lib/data/dateRangeValues'; import useAppStore from '../../../store/useStore'; import { SeriesData, StatisticsProps } from '../../../utils/interfaces'; -import { Alert, AlertTitle, Typography, IconButton } from '@mui/material'; -import { FaTelegram, FaDiscord, FaEnvelope, FaXTwitter } from 'react-icons/fa6'; export interface DisengagedMembersComposition { activePeriod: number; + isPremiumGuild: boolean; handleDateRange: (range: number) => void; } @@ -62,6 +63,7 @@ const defaultOptions = { export default function DisengagedMembersComposition({ activePeriod, + isPremiumGuild = false, handleDateRange, }: DisengagedMembersComposition) { const { disengagedMembers, disengagedMembersLoading } = useAppStore(); @@ -240,12 +242,10 @@ export default function DisengagedMembersComposition({ }; useEffect(() => { - if (activePeriod === 4 || activePeriod === 5) { - setShowOverlay(true); - } else { - setShowOverlay(false); - } - }, [activePeriod]); + const shouldShowOverlay = + !isPremiumGuild && (activePeriod === 4 || activePeriod === 5); + setShowOverlay(shouldShowOverlay); + }, [activePeriod, isPremiumGuild]); return ( <> diff --git a/src/components/pages/statistics/InactiveMembers.tsx b/src/components/pages/statistics/InactiveMembers.tsx index 92b488cc..3ebf1a3e 100644 --- a/src/components/pages/statistics/InactiveMembers.tsx +++ b/src/components/pages/statistics/InactiveMembers.tsx @@ -1,4 +1,6 @@ +import { Alert, AlertTitle, IconButton, Typography } from '@mui/material'; import { useEffect, useState } from 'react'; +import { FaDiscord, FaEnvelope, FaTelegram, FaXTwitter } from 'react-icons/fa6'; import { FiCalendar } from 'react-icons/fi'; import StatisticalData from './StatisticalData'; @@ -8,11 +10,10 @@ import RangeSelect from '../../global/RangeSelect'; import { communityActiveDates } from '../../../lib/data/dateRangeValues'; import useAppStore from '../../../store/useStore'; import { SeriesData, StatisticsProps } from '../../../utils/interfaces'; -import { Alert, AlertTitle, Typography, IconButton } from '@mui/material'; -import { FaTelegram, FaDiscord, FaEnvelope, FaXTwitter } from 'react-icons/fa6'; export interface InactiveMembersProps { activePeriod: number; + isPremiumGuild: boolean; handleDateRange: (range: number) => void; } @@ -60,6 +61,7 @@ const defaultOptions = { export default function InactiveMembers({ activePeriod, + isPremiumGuild = false, handleDateRange, }: InactiveMembersProps) { const { inactiveMembers, inactiveMembersLoading } = useAppStore(); @@ -115,12 +117,10 @@ export default function InactiveMembers({ }, [inactiveMembers]); useEffect(() => { - if (activePeriod === 4 || activePeriod === 5) { - setShowOverlay(true); - } else { - setShowOverlay(false); - } - }, [activePeriod]); + const shouldShowOverlay = + !isPremiumGuild && (activePeriod === 4 || activePeriod === 5); + setShowOverlay(shouldShowOverlay); + }, [activePeriod, isPremiumGuild]); return ( <> diff --git a/src/components/pages/statistics/InteractionsSection.tsx b/src/components/pages/statistics/InteractionsSection.tsx index 835e29b3..afff89c2 100644 --- a/src/components/pages/statistics/InteractionsSection.tsx +++ b/src/components/pages/statistics/InteractionsSection.tsx @@ -1,4 +1,4 @@ -import { Alert, AlertTitle, IconButton,Typography } from '@mui/material'; +import { Alert, AlertTitle, IconButton, Typography } from '@mui/material'; import { useEffect, useState } from 'react'; import { FaDiscord, FaEnvelope, FaTelegram, FaXTwitter } from 'react-icons/fa6'; import { FiCalendar } from 'react-icons/fi'; @@ -13,6 +13,7 @@ import { SeriesData, StatisticsProps } from '../../../utils/interfaces'; export interface IntractionsProps { activePeriod: number; + isPremiumGuild: boolean; handleDateRange: (range: number) => void; } @@ -60,6 +61,7 @@ const defaultOptions = { export default function InteractionsSection({ activePeriod, + isPremiumGuild = false, handleDateRange, }: IntractionsProps) { const { interactions, interactionsLoading } = useAppStore(); @@ -127,12 +129,10 @@ export default function InteractionsSection({ }, [interactions]); useEffect(() => { - if (activePeriod === 4 || activePeriod === 5) { - setShowOverlay(true); - } else { - setShowOverlay(false); - } - }, [activePeriod]); + const shouldShowOverlay = + !isPremiumGuild && (activePeriod === 4 || activePeriod === 5); + setShowOverlay(shouldShowOverlay); + }, [activePeriod, isPremiumGuild]); return ( <> diff --git a/src/components/pages/statistics/Onboarding.tsx b/src/components/pages/statistics/Onboarding.tsx index 2f8a1ef7..b50a62a4 100644 --- a/src/components/pages/statistics/Onboarding.tsx +++ b/src/components/pages/statistics/Onboarding.tsx @@ -1,4 +1,4 @@ -import { Alert, AlertTitle, IconButton,Typography } from '@mui/material'; +import { Alert, AlertTitle, IconButton, Typography } from '@mui/material'; import router from 'next/router'; import { useEffect, useState } from 'react'; import { FaDiscord, FaEnvelope, FaTelegram, FaXTwitter } from 'react-icons/fa6'; @@ -15,6 +15,7 @@ import { SeriesData, StatisticsProps } from '../../../utils/interfaces'; export interface OnboardingProps { activePeriod: number; + isPremiumGuild: boolean; handleDateRange: (range: number) => void; } @@ -62,6 +63,7 @@ const defaultOptions = { export default function Onboarding({ activePeriod, + isPremiumGuild = false, handleDateRange, }: OnboardingProps) { const { onboardingMembers, onboardingMembersLoading } = useAppStore(); @@ -215,12 +217,10 @@ export default function Onboarding({ }; useEffect(() => { - if (activePeriod === 4 || activePeriod === 5) { - setShowOverlay(true); - } else { - setShowOverlay(false); - } - }, [activePeriod]); + const shouldShowOverlay = + !isPremiumGuild && (activePeriod === 4 || activePeriod === 5); + setShowOverlay(shouldShowOverlay); + }, [activePeriod, isPremiumGuild]); return ( <> diff --git a/src/pages/statistics.tsx b/src/pages/statistics.tsx index 5554c0b7..7aa98463 100644 --- a/src/pages/statistics.tsx +++ b/src/pages/statistics.tsx @@ -1,3 +1,4 @@ +/* eslint-disable react/jsx-key */ import { Box } from '@mui/material'; import moment from 'moment'; import Image from 'next/image'; @@ -6,6 +7,7 @@ import { useEffect, useState } from 'react'; import { AiOutlineLeft } from 'react-icons/ai'; import emptyState from '../assets/svg/empty-state.svg'; +import { PREMIUM_GUILDS } from '../components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog'; import CustomTab from '../components/global/CustomTab'; import EmptyState from '../components/global/EmptyState'; import Link from '../components/global/Link'; @@ -26,10 +28,14 @@ const Statistics = () => { const { community } = useToken(); const router = useRouter(); - const platformId = community?.platforms.find( + const platform = community?.platforms.find( (platform) => platform.disconnectedAt === null && platform.name === 'discord' - )?.id; + ); + + const isPremiumGuild: boolean = Boolean( + platform?.metadata?.id && PREMIUM_GUILDS.includes(platform.metadata.id) + ); const tabMap: { [key: string]: string } = { activeMembers: '1', @@ -90,7 +96,7 @@ const Statistics = () => { useEffect(() => { const fetchData = async () => { try { - if (!platformId) { + if (!platform?.id) { return; } @@ -104,17 +110,17 @@ const Statistics = () => { ); await fetchActiveMembers( - platformId, + platform?.id, activeDateRange[0], activeDateRange[1] ); await fetchInteractions( - platformId, + platform?.id, activeIntegrationDateRange[0], activeIntegrationDateRange[1] ); await fetchOnboardingMembers( - platformId, + platform?.id, onBoardingMemberDateRange[0], onBoardingMemberDateRange[1] ); @@ -123,12 +129,12 @@ const Statistics = () => { const inactiveMemberDateRange = getDateRange(inactiveMembersDate); await fetchDisengagedMembers( - platformId, + platform?.id, disengagedDateRange[0], disengagedDateRange[1] ); await fetchInactiveMembers( - platformId, + platform?.id, inactiveMemberDateRange[0], inactiveMemberDateRange[1] ); @@ -146,65 +152,65 @@ const Statistics = () => { }, [activeTab]); useEffect(() => { - if (!platformId) { + if (!platform?.id) { return; } const activeDateRange = getDateRange(activeMemberDate); - fetchActiveMembers(platformId, activeDateRange[0], activeDateRange[1]); + fetchActiveMembers(platform?.id, activeDateRange[0], activeDateRange[1]); }, [activeMemberDate]); useEffect(() => { - if (!platformId) { + if (!platform?.id) { return; } const onBoardingMemberDateRange = getDateRange(onBoardingMemberDate); fetchOnboardingMembers( - platformId, + platform?.id, onBoardingMemberDateRange[0], onBoardingMemberDateRange[1] ); }, [onBoardingMemberDate]); useEffect(() => { - if (!platformId) { + if (!platform?.id) { return; } const activeIntegrationDateRange = getDateRange(activeInteractionDate); fetchInteractions( - platformId, + platform?.id, activeIntegrationDateRange[0], activeIntegrationDateRange[1] ); }, [activeInteractionDate]); useEffect(() => { - if (!platformId) { + if (!platform?.id) { return; } const disengagedDateRange = getDateRange(disengagedMemberDate); fetchDisengagedMembers( - platformId, + platform?.id, disengagedDateRange[0], disengagedDateRange[1] ); }, [disengagedMemberDate]); useEffect(() => { - if (!platformId) { + if (!platform?.id) { return; } const inactiveMemberDateRange = getDateRange(inactiveMembersDate); fetchInactiveMembers( - platformId, + platform?.id, inactiveMemberDateRange[0], inactiveMemberDateRange[1] ); @@ -307,6 +313,7 @@ const Statistics = () => { > @@ -319,6 +326,7 @@ const Statistics = () => { > @@ -331,6 +339,7 @@ const Statistics = () => { > @@ -345,6 +354,7 @@ const Statistics = () => { > @@ -357,6 +367,7 @@ const Statistics = () => { > From 09a74d9914e9ad09ae2f7c70d6671fddc45a23a6 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Wed, 23 Oct 2024 13:12:34 +0300 Subject: [PATCH 2/4] remove guild --- .../TcDiscordIntegrationSettingsDialog.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx index c95a3ffa..bbf9d41c 100644 --- a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx +++ b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx @@ -31,9 +31,8 @@ import useAppStore from '../../../store/useStore'; import { IPlatformProps } from '../../../utils/interfaces'; export const PREMIUM_GUILDS = [ - '732892373507375164', - '1012430565959553145', - '915914985140531240', + '732892373507375164', // fuel + '915914985140531240', // rndao ]; interface TcDiscordIntegrationSettingsDialog { From bd19494a2a027dd072d21bdb742b7d41df2a8aaa Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Wed, 23 Oct 2024 13:57:01 +0300 Subject: [PATCH 3/4] update guilds --- .../communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx index bbf9d41c..dd2058ef 100644 --- a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx +++ b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx @@ -33,6 +33,10 @@ import { IPlatformProps } from '../../../utils/interfaces'; export const PREMIUM_GUILDS = [ '732892373507375164', // fuel '915914985140531240', // rndao + '1012430565959553145', + '980858613587382322', + '1007641784798691468', + '' ]; interface TcDiscordIntegrationSettingsDialog { From a1d8813689a16eefe7590eb7b80871dec0e6ec99 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Wed, 23 Oct 2024 14:18:11 +0300 Subject: [PATCH 4/4] remove guild --- .../communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx index dd2058ef..bc478e10 100644 --- a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx +++ b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx @@ -33,10 +33,8 @@ import { IPlatformProps } from '../../../utils/interfaces'; export const PREMIUM_GUILDS = [ '732892373507375164', // fuel '915914985140531240', // rndao - '1012430565959553145', '980858613587382322', '1007641784798691468', - '' ]; interface TcDiscordIntegrationSettingsDialog {