Skip to content

Commit

Permalink
fix: 조회 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Anhye0n committed Aug 6, 2024
1 parent 00944af commit d5b8f30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/common/FilterButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@ function FilterButton({
};

const handleClick = async () => {
if (isRegistrationStarted) {
if (label === '조회') {
searchLecture();

return;
}

if (label === '검색' && isRegistrationStarted) searchLecture();
return;
};

return (
Expand Down

0 comments on commit d5b8f30

Please sign in to comment.