Skip to content

Commit

Permalink
Remove mypage from cart list breadcrumbs (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimurash committed Dec 16, 2024
1 parent c2151cb commit 0780810
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/app/components/cart/CartListComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
import { Stack } from '@mantine/core';
import { useAtom } from 'jotai';
import { LuShoppingCart } from 'react-icons/lu';
import { cartAtom } from '~/stores/cartAtom';
import BreadCrumbsComponent from '../common/breadcrumbs/BreadCrumbsComponent';
import CartCards from './CartCards';
import CartSelectedDialog from './CartSelectedDialog';
import CartTitle from './CartTitle';
import NoCartComponent from './NoCartComponent';
import BreadCrumbsComponent from '../common/breadcrumbs/BreadCrumbsComponent';
import { FaUser } from 'react-icons/fa';
import { LuShoppingCart } from 'react-icons/lu';

const CartListComponent = () => {
const [cart] = useAtom(cartAtom);
return (
<Stack bg="var(--mantine-color-body)" align="stretch" justify="flex-start">
<BreadCrumbsComponent
anchors={[
{ icon: <FaUser />, title: 'マイページ', href: '/home/me' },
{ icon: <LuShoppingCart />, title: '貸出カート', href: '/home/cart' },
]}
/>
Expand Down

0 comments on commit 0780810

Please sign in to comment.