diff --git a/src/components/communitySettings/platform/TcPlatform.tsx b/src/components/communitySettings/platform/TcPlatform.tsx index f8c9fe4e..763449f8 100644 --- a/src/components/communitySettings/platform/TcPlatform.tsx +++ b/src/components/communitySettings/platform/TcPlatform.tsx @@ -70,6 +70,7 @@ function TcPlatform({ platformName = 'Discord' }: TcPlatformProps) { }; useEffect(() => { + if (!id) return; fetchPlatform(); }, [id, retrievePlatformById]);