Skip to content

Commit

Permalink
fix: 무한으로 useEffect가 호출되는 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gyeongza committed Aug 3, 2023
1 parent e676d46 commit 645985b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const SupporterSelectList = ({ handleSelectButton, selectedTechField }: Props) =
});
if (backend) setFilteredSupporter(backend);
}
}, [filteredSupporter, supporterCardList]);
}, [supporterCardList, selectedTechField]);

const selectedSupporter = (selectedSupporter: SupporterCard) => {
handleSelectButton(selectedSupporter);
Expand Down

0 comments on commit 645985b

Please sign in to comment.