|
|
|
@ -13,9 +13,9 @@ interface DurationType {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const WaitEditor: React.FC<NodeEditorProps> = ({ nodeData, updateNodeData }) => {
|
|
|
|
const WaitEditor: React.FC<NodeEditorProps> = ({ nodeData, updateNodeData }) => {
|
|
|
|
const hourOptions = Array.from({ length: 23 }, (_, i) => i);
|
|
|
|
const hourOptions = Array.from({ length: 24 }, (_, i) => i);
|
|
|
|
const minuteOptions = Array.from({ length: 59 }, (_, i) => i);
|
|
|
|
const minuteOptions = Array.from({ length: 60 }, (_, i) => i);
|
|
|
|
const secondOptions = Array.from({ length: 59 }, (_, i) => i);
|
|
|
|
const secondOptions = Array.from({ length: 60 }, (_, i) => i);
|
|
|
|
const [duration, setDuration] = useState<DurationType>({
|
|
|
|
const [duration, setDuration] = useState<DurationType>({
|
|
|
|
hour: 0,
|
|
|
|
hour: 0,
|
|
|
|
minute: 0,
|
|
|
|
minute: 0,
|
|
|
|
|