Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
goeun208 committed Mar 12, 2024
1 parent 49fe68a commit 26240ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Main = ({ id }: MainProps) => {

useEffect(() => {
console.log(gNameData, 'gNameData');
groupNameData.data !== gNameData && setGroupNameData(gNameData.data);
groupNameData !== gNameData?.data && setGroupNameData(gNameData?.data);
}, [gNameData, groupNameData]);

if (groupNameData) {
Expand Down

0 comments on commit 26240ab

Please sign in to comment.