mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-18 00:02:48 +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"
|
className="tool-item-link"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
onEventClick(entry.eventId!);
|
onEventClick?.(entry.eventId!);
|
||||||
}}
|
}}
|
||||||
title="View in Events"
|
title="View in Events"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue