mirror of https://github.com/kortix-ai/suna.git
build errors fix
This commit is contained in:
parent
8188a83a6d
commit
d1be6a38da
|
@ -37,7 +37,7 @@ export const TabsNavigation = ({ activeTab, onTabChange, onCreateAgent }: TabsNa
|
|||
|
||||
const handleTabSelection = (value: string) => {
|
||||
if (value === 'create-agent') {
|
||||
onCreateAgent && onCreateAgent();
|
||||
onCreateAgent?.();
|
||||
} else {
|
||||
onTabChange(value);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue