Skip to content

Commit d5b8f30

Browse files
committed
fix: 조회 문제 해결
1 parent 00944af commit d5b8f30

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/common/FilterButton.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,13 @@ function FilterButton({
6060
};
6161

6262
const handleClick = async () => {
63-
if (isRegistrationStarted) {
63+
if (label === '조회') {
6464
searchLecture();
65-
65+
return;
6666
}
67+
68+
if (label === '검색' && isRegistrationStarted) searchLecture();
69+
return;
6770
};
6871

6972
return (

0 commit comments

Comments
 (0)