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"
icon={<MagnifyingGlassIcon width={16} height={16} />}
/>
{/* <SecondaryButton
<SecondaryButton
title={'Create bot'}
onClick={onCreateBotClicked}
className="flex-1"
icon={<PlusIcon width={16} height={16} />}
/> */}
/>
</div>
)
}

View File

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