diff --git a/frontend/src/components/app-bar/AppBar.jsx b/frontend/src/components/app-bar/AppBar.jsx index b1f4ef2..3a6e32f 100644 --- a/frontend/src/components/app-bar/AppBar.jsx +++ b/frontend/src/components/app-bar/AppBar.jsx @@ -161,7 +161,7 @@ export default function DrawerAppBar() { open={Boolean(anchorEl)} onClose={handleClose} > - window.location.replace(ROUTES.myAccount.path)}>My account + window.location.replace(ROUTES.myAccount.path)}>My cart Logout diff --git a/frontend/src/pages/my-account/MyAccount.jsx b/frontend/src/pages/my-account/MyAccount.jsx index 225444d..8881fed 100644 --- a/frontend/src/pages/my-account/MyAccount.jsx +++ b/frontend/src/pages/my-account/MyAccount.jsx @@ -2,7 +2,6 @@ import React, { useState } from 'react'; import { Box, Button, CircularProgress, Divider, Stack, Tab, Tabs, Typography } from '@mui/material'; import ItemCard from '../../components/item-card/item-card.jsx'; import Toast from '../../components/toast/Toast.jsx'; -import { Helper } from '../../utils/Helper.js'; import useMyAccount from './useMyAccount.js'; const TAB_ITEMS = ['Workshops', 'Presentations', 'Cart']; @@ -19,7 +18,7 @@ const MyAccount = () => { openToast, setOpenToast, } = useMyAccount(); - const [tabValue, setTabValue] = useState(TAB_ITEMS[0]); + const [tabValue, setTabValue] = useState(TAB_ITEMS[2]); const handleChangeTab = (event, newValue) => { setTabValue(newValue);