[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
commit beb1448441
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 56 additions and 52 deletions

View file

@ -541,7 +541,7 @@ const Flowchart = (props: FlowchartProps) => {
{svgString && (
<div className={themeClasses.mermaidDiv} style={{ objectFit: 'cover' }} onClick={handlePreviewClick}>
<div className="absolute bottom-2 left-2 z-[100]">
<button
<button type="button"
onClick={(e) => {
e.stopPropagation()
toggleTheme()