Skip to content

Commit

Permalink
Merge pull request #91 from Choco-Express/dev
Browse files Browse the repository at this point in the history
🚀 Deploy
  • Loading branch information
Chaem03 authored Sep 24, 2024
2 parents 62a39da + 64baeb5 commit c927ce3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pages/ChocoList/ChocoList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const ChocoList = () => {

if (response.data && response.data.message === "SUCCESS") {
const { chocoList, totalPage } = response.data.result;
console.log("chocoList:", chocoList);

console.log("chocolist:", chocoList);
console.log("totalPage:", totalPage);

setChocoData(chocoList);
Expand Down
2 changes: 1 addition & 1 deletion src/router.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const router = createBrowserRouter([
element: <MyboxSelectPage />,
},
{ path: "/detailletter/:id", element: <DetailLetter /> },
{ path: "/chocolist", element: <ChocoList /> },
{ path: "/chocolist/:boxId", element: <ChocoList /> },
{ path: "/mypage", element: <MyPage /> },
],
errorElement: <NotFound />,
Expand Down

0 comments on commit c927ce3

Please sign in to comment.