using local storage to remember team names in the bread crumbs

This commit is contained in:
Carter 2025-04-23 16:07:36 -06:00
parent 4009028f4d
commit 1b1d6e4485
4 changed files with 27 additions and 4 deletions

View file

@ -2,6 +2,7 @@ import { Avatar, AvatarGroup, Box, Button, Card, Divider, Grid2, List, ListItemB
import { makeStyles } from "@mui/styles";
import LoadingScreen from "app/LoadingScreen";
import Chat from "chat/Chat";
import SmartBreadcrumb from "common/SmartBreadcrumb";
// import SmartBreadcrumb from "common/SmartBreadcrumb";
import { useMobile } from "hooks";
import { cloneDeep } from "lodash";
@ -214,6 +215,8 @@ export default function TeamPage() {
<PageContainer padding={isMobile ? 0 : 2}>
<Box className={classes.container}>
<Box className={classes.leftBox}>
<SmartBreadcrumb paddingBottom={1} teamName={team.name()} />
<SmartBreadcrumb />
{title()}
</Box>
<Box className={classes.rightBox}>