mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 22:24:11 +00:00
refactor: simple migrations and tweaks to cuesheet
This commit is contained in:
committed by
Carlos Valente
parent
c8c2a05724
commit
aefa4cbf44
+7
-3
@@ -17,9 +17,13 @@ interface ParentFocusableInput extends HTMLInputElement {
|
||||
|
||||
export default memo(DurationInput);
|
||||
|
||||
function DurationInput(props: PropsWithChildren<DurationInputProps>) {
|
||||
const { initialValue, lockedValue, delayed, onSubmit, children } = props;
|
||||
|
||||
function DurationInput({
|
||||
initialValue,
|
||||
lockedValue,
|
||||
delayed,
|
||||
onSubmit,
|
||||
children,
|
||||
}: PropsWithChildren<DurationInputProps>) {
|
||||
const [isEditing, setIsEditing] = useState(false);
|
||||
const [value, setValue] = useState(initialValue);
|
||||
const inputRef = useRef<ParentFocusableInput>(null);
|
||||
|
||||
Reference in New Issue
Block a user