Skip to content

Commit 41806ac

Browse files
committed
Merge branch 'dev'
2 parents 42c151a + 4121805 commit 41806ac

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/editor/src/features/content/form/hooks/useContentForm.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,11 @@ export const useContentForm = ({
194194

195195
const resetForm = React.useCallback((values: IContentForm) => {
196196
// Reset form for next record.
197-
const parsedDate = moment(values.publishedOn);
198-
const updatedDate = parsedDate.add(1, 'second');
199197
setForm({
200198
...defaultFormValues(values.contentType),
201199
sourceId: values.sourceId,
202200
mediaTypeId: values.mediaTypeId,
203201
otherSource: values.otherSource,
204-
publishedOn: updatedDate.format('MMM D, yyyy HH:mm:ss'),
205-
publishedOnTime: updatedDate.format('HH:mm:ss'),
206202
});
207203
setStream(undefined);
208204
}, []);

0 commit comments

Comments
 (0)