Skip to content

Commit a99a150

Browse files
committed
Replace a with span in ChildrenNode
It's not a proper link, just inline piece of text with click handler
1 parent e033d8c commit a99a150

File tree

1 file changed

+2
-2
lines changed
  • rust/cubesql/cubesql/egraph-debug-template/src

1 file changed

+2
-2
lines changed

rust/cubesql/cubesql/egraph-debug-template/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ const ChildrenNode =
220220
{splitLabel(label).map((s, i) => {
221221
if (s.match(/\d+/)) {
222222
return (
223-
<a
223+
<span
224224
style={{ color: 'blue', cursor: 'pointer' }}
225225
onClick={() => navigate(s)}
226226
key={i}
@@ -230,7 +230,7 @@ const ChildrenNode =
230230
.join(', ')}
231231
>
232232
{s}
233-
</a>
233+
</span>
234234
);
235235
} else {
236236
return <span key={i}>{s}</span>;

0 commit comments

Comments
 (0)