Skip to content

Commit

Permalink
fix: 주행 기록 최근순으로 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
jwo0o0 committed Feb 22, 2024
1 parent b0b73d5 commit b8e84b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Note/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const Note = () => {
useEffect(() => {
const response = historyAPI();
response.then((res) => {
setData(res);
setData(res.reverse());
});
}, []);

Expand Down

0 comments on commit b8e84b3

Please sign in to comment.