[Chore/Refactor] Add missing 'type' attribute on 'button' components (#26249)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: asukaminato0721 <30024051+asukaminato0721@users.noreply.github.com>
This commit is contained in:
Copilot
2025-09-28 13:43:43 +08:00
committed by GitHub
parent 272102c06d
commit beb1448441
32 changed files with 56 additions and 52 deletions

View File

@@ -99,6 +99,7 @@ const SchemaNode: FC<SchemaNodeProps> = ({
indentLeft[depth - 1],
)}>
<button
type="button"
onClick={handleExpand}
className='py-0.5 text-text-tertiary hover:text-text-accent'
>

View File

@@ -109,7 +109,7 @@ const TracingPanel: FC<TracingPanelProps> = ({
onMouseLeave={handleParallelMouseLeave}
>
<div className="mb-1 flex items-center">
<button
<button type="button"
onClick={() => toggleCollapse(node.id)}
className={cn(
'mr-2 transition-colors',