fix: uncontrolled input — stop re-setting value prop on every keystroke, killing focus
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user