Skip to content

Commit

Permalink
Merge pull request #451 from LikeLion-at-DGU/dev
Browse files Browse the repository at this point in the history
🚀 Deploy
  • Loading branch information
Chaem03 authored Aug 6, 2024
2 parents 68f8ac7 + 76d6924 commit 8266cfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/pages/StarPage/StarPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const StarPage = () => {
setIsCheckVisible(false);
};

//객체로 term계산
useEffect(() => {
if (startDay && endDay) {
const startDate = new Date(startDay);
Expand Down
6 changes: 1 addition & 5 deletions src/router.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const router = createBrowserRouter([
loader: loader,
},
{
path: "/share",
path: "/share/:starid",
element: <SharePage />,
loader: loader,
},
Expand All @@ -103,10 +103,6 @@ const router = createBrowserRouter([
path: "/error",
element: <NotFound />,
},
{
path: "/share/:starid",
element: <SharePage />,
},
],
errorElement: <NotFound />,
},
Expand Down

0 comments on commit 8266cfa

Please sign in to comment.