Skip to content

Commit

Permalink
rollback(history): 백엔드 버그 착오
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubinquitous committed Apr 15, 2024
1 parent 2a5b191 commit 125f9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/history/[title]/detail/[id]/HistoryDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface HistoryType {
}

const HistoryDetail: FC<{ id: number; title: string }> = ({ id, title }) => {
const { data: history } = useSuspenseQuery(historyQuery.detail({ id, title }));
const { data: history } = useSuspenseQuery(historyQuery.detail({ id: id - 1, title }));

return (
<Container
Expand Down

0 comments on commit 125f9e2

Please sign in to comment.