chore: enable back bot function for edge-release (#474)

This commit is contained in:
Louis 2023-10-30 15:11:20 +07:00 committed by GitHub
parent b19bda65e3
commit 80c4f53927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -34,12 +34,12 @@ const LeftHeaderAction: React.FC = () => {
className="flex-1" className="flex-1"
icon={<MagnifyingGlassIcon width={16} height={16} />} icon={<MagnifyingGlassIcon width={16} height={16} />}
/> />
{/* <SecondaryButton <SecondaryButton
title={'Create bot'} title={'Create bot'}
onClick={onCreateBotClicked} onClick={onCreateBotClicked}
className="flex-1" className="flex-1"
icon={<PlusIcon width={16} height={16} />} icon={<PlusIcon width={16} height={16} />}
/> */} />
</div> </div>
) )
} }

View File

@ -88,11 +88,11 @@ export const SidebarLeft = () => {
icon: <LayoutGrid size={20} className="flex-shrink-0" />, icon: <LayoutGrid size={20} className="flex-shrink-0" />,
state: MainViewState.MyModel, state: MainViewState.MyModel,
}, },
// { {
// name: 'Bot', name: 'Bot',
// icon: <Bot size={20} className="flex-shrink-0" />, icon: <Bot size={20} className="flex-shrink-0" />,
// state: MainViewState.CreateBot, state: MainViewState.CreateBot,
// }, },
{ {
name: 'Settings', name: 'Settings',
icon: <Settings size={20} className="flex-shrink-0" />, icon: <Settings size={20} className="flex-shrink-0" />,