mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 04:03:31 +00:00
fix: optional chain onEventClick to fix typecheck
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4201bd204b
commit
2aad675389
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ const ToolItem = ({
|
|||
className="tool-item-link"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
onEventClick(entry.eventId!);
|
||||
onEventClick?.(entry.eventId!);
|
||||
}}
|
||||
title="View in Events"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue