Skip to content

Commit

Permalink
New button for Chat
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyhollywood committed Jun 17, 2024
1 parent cfb8f12 commit 19e23f9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions projects/mercury/src/layout/MainMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,23 @@ const MainMenu = ({open, classes}) => {
>
{open && 'Collections'}
</Button>
{useLlmSearch && (
<Button
variant="outlined"
size="small"
className={classNames(
classes.mainMenuButton,
!open && classes.mainMenuButtonSmall,
pathname.startsWith('/search') && classes.mainMenuButtonSelected
)}
key="search"
component={NavLink}
to="/ask"
startIcon={<ChatIcon />}
>
{open && 'Chat'}
</Button>
)}
{externalStorages &&
externalStorages.map(storage => (
<Button
Expand Down

0 comments on commit 19e23f9

Please sign in to comment.