Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/brimdata/zui
/ click
Function
click
apps/zui/src/components/link.tsx:10–17 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
8
if (href?.startsWith(
"#"
)) return <a href={href}>{children}</a>
9
10
const click = (e) => {
11
e.preventDefault()
12
if (href) {
13
invoke(
"openLinkOp"
, href)
14
} else if (onClick) {
15
onClick(e)
16
}
17
}
18
return (
19
<a
20
href={
Callers
nothing calls this directly
Calls
2
invoke
Function · 0.90
onClick
Function · 0.70
Tested by
no test coverage detected