Skip to content

Commit

Permalink
Fix: Route import
Browse files Browse the repository at this point in the history
  • Loading branch information
imi21123 committed Nov 17, 2023
1 parent 57394c9 commit 8eb6bb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import OrderProcessPage from "./pages/OrderProcessPage/OrderProcessPage";
import OrderStatus from "./pages/OrderStatus/OrderStatus";
import OrderStorage from "./pages/OrderStorage/OrderStorage";
import PackagingStatusPage from "./pages/PackagingStatusPage/PackagingStatusPage";
import CartPage from "./pages/CartPage/CartPage";

function App() {
return (
Expand Down
6 changes: 4 additions & 2 deletions src/pages/CartPage/CartPage.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Header from "../../components/views/Header/Header";

const CartPage = () => {
// const { cartItems, setCartItems } = useContext(CartContext);

Expand All @@ -8,13 +10,13 @@ const CartPage = () => {

return (
<div className="cart-page">
{/* <Header
<Header
headerProps={{
pageName: "장바구니",
isClose: false,
linkTo: "/store",
}}
/> */}
/>
{/* <h1>Cart</h1>
<div className="cart-items">
{cartItems.map((item) => (
Expand Down

0 comments on commit 8eb6bb5

Please sign in to comment.