From ea392d2189b629f2d4cf2776ebb39a013bfc0192 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Wed, 9 Aug 2023 23:06:03 -0700 Subject: [PATCH] Cleanups --- src/apps/chat/components/applayout/ChatMenuItems.tsx | 12 ++++++------ src/common/layout/AppBar.tsx | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/apps/chat/components/applayout/ChatMenuItems.tsx b/src/apps/chat/components/applayout/ChatMenuItems.tsx index 64f6a0b65..c0b104131 100644 --- a/src/apps/chat/components/applayout/ChatMenuItems.tsx +++ b/src/apps/chat/components/applayout/ChatMenuItems.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { shallow } from 'zustand/shallow'; -import { ListDivider, ListItem, ListItemDecorator, MenuItem, Switch, Typography } from '@mui/joy'; +import { ListDivider, ListItemDecorator, MenuItem, Switch } from '@mui/joy'; import CheckBoxOutlineBlankOutlinedIcon from '@mui/icons-material/CheckBoxOutlineBlankOutlined'; import CheckBoxOutlinedIcon from '@mui/icons-material/CheckBoxOutlined'; import ClearIcon from '@mui/icons-material/Clear'; @@ -75,11 +75,11 @@ export function ChatMenuItems(props: { return <> - - - Conversation - - + {/**/} + {/* */} + {/* Conversation*/} + {/* */} + {/**/} diff --git a/src/common/layout/AppBar.tsx b/src/common/layout/AppBar.tsx index e33fd8c00..6226b41c0 100644 --- a/src/common/layout/AppBar.tsx +++ b/src/common/layout/AppBar.tsx @@ -168,7 +168,7 @@ export function AppBar(props: { sx?: SxProps }) { > {commonMenuItems} {!!menuItems && } - {menuItems} + {!!menuItems && {menuItems}} {!!menuItems && } {/**/}