Skip to content

Commit

Permalink
chore: 불필요한 useBookTitle hook 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
gxxrxn committed Feb 5, 2024
1 parent bf2a671 commit d37c13e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/queries/book/useBookInfoQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,3 @@ export const useBookInfo = (bookId: APIBook['bookId']) =>
useBookInfoQuery(bookId, {
select: transformBookData,
});

export const useBookTitle = (bookId: APIBook['bookId']) =>
useBookInfoQuery(bookId, {
select: data => data.title,
});

0 comments on commit d37c13e

Please sign in to comment.