polish(translator): add type='button' to MonitorTab toggle/refresh buttons (GAP-NOVO-7)

Match the rest of the codebase pattern. No functional change — there is
no <form> parent — but improves consistency.
This commit is contained in:
diegosouzapw
2026-05-28 16:25:25 -03:00
parent 053e62dcf8
commit 0d52125ca6

View File

@@ -215,6 +215,7 @@ export default function MonitorTab({ onGoToTranslate }: MonitorTabProps) {
{autoRefresh ? "radio_button_checked" : "radio_button_unchecked"}
</span>
<button
type="button"
onClick={() => setAutoRefresh((prev) => !prev)}
className="text-sm text-text-main hover:text-primary transition-colors"
aria-label={
@@ -237,6 +238,7 @@ export default function MonitorTab({ onGoToTranslate }: MonitorTabProps) {
: translateOrFallback("paused", "Paused")}
</Badge>
<button
type="button"
onClick={() => void fetchHistory()}
className="flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors"
aria-label={tc("refresh")}