Skip to content

Commit c0aab08

Browse files
feat: Added 5 minutes from current time in the TimePicker
1 parent ad7e4cb commit c0aab08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/widget/src/components/widget/Phases/AutoImport/AutoImportPhase3/AutoImportPhase3.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ interface IAutoImportPhase3Props {
2222

2323
const getDefaultValuesForFrequency = (frequency: AUTOIMPORTSCHEDULERFREQUENCY): Partial<RecurrenceFormData> => {
2424
const now = new Date();
25+
now.setMinutes(now.getMinutes() + 5);
2526
const defaultTime = `${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}`;
2627

2728
const baseDefaults = {

0 commit comments

Comments
 (0)