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