Skip to content

Commit

Permalink
check id
Browse files Browse the repository at this point in the history
  • Loading branch information
zuies committed Dec 11, 2023
1 parent b3fdd87 commit fe56ec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/communitySettings/platform/TcPlatform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ function TcPlatform({ platformName = 'Discord' }: TcPlatformProps) {
};

useEffect(() => {
if (!id) return;
fetchPlatform();
}, [id, retrievePlatformById]);

Expand Down

0 comments on commit fe56ec0

Please sign in to comment.