fix: uncontrolled input — stop re-setting value prop on every keystroke, killing focus

This commit is contained in:
Falkan
2026-03-17 19:27:07 -04:00
parent d2045b7a00
commit 78e24017a7
3 changed files with 146 additions and 3 deletions

View File

@@ -24,6 +24,9 @@ export interface Unit {
/** Group this unit belongs to, or null if orphaned. */
group: string | null;
/** Optional human-readable description shown as a tooltip in the converter. */
description?: string;
}
/** A group of units sharing a base unit and a universal scale factor. */