Skip to content

Commit

Permalink
chore. minor line change
Browse files Browse the repository at this point in the history
  • Loading branch information
hyu-dev committed Dec 26, 2023
1 parent c02c379 commit c1a6f41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ export const RegisterModal = ({ setIsOpen, planId }: TProps) => {
);

// 도서 다음페이지 호출
const handleNextPage = () => {
const handleNextPage = useCallback(() => {
const { title, searchData } = getValues();
searchBookInfo(title ?? undefined, searchData.page + 1 ?? undefined);
};
}, [searchBookInfo, getValues]);

const titleRegister = useMemo(
() =>
Expand Down

0 comments on commit c1a6f41

Please sign in to comment.