Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

Added type button to suggestionbox buttons (#2079)

LoganBrinsmead8131d60e0a49
diff --git a/packages/lint-framework/src/lint/SuggestionBox.ts b/packages/lint-framework/src/lint/SuggestionBox.ts
index 98aba091c..db23489e9 100644
--- a/packages/lint-framework/src/lint/SuggestionBox.ts
+++ b/packages/lint-framework/src/lint/SuggestionBox.ts
@@ -127,6 +127,7 @@ function button(
style: extraStyle,
onclick: onClick,
title: desc,
+ type: 'button',
'aria-label': desc,
...extraProps,
},