diff --git a/package.json b/package.json index 32e41b73..9895d22c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "social-diversity-for-children", - "version": "0.0.3", + "version": "0.0.4", "private": true, "scripts": { "dev": "next dev", diff --git a/pages/admin/class/edit/[id].tsx b/pages/admin/class/edit/[id].tsx index c7a57a19..1e567eb6 100644 --- a/pages/admin/class/edit/[id].tsx +++ b/pages/admin/class/edit/[id].tsx @@ -144,7 +144,6 @@ export default function CreateClass({ session }: Props): JSX.Element { endDate: new Date(endDate), price, id, - startTimeMinutes: moment(startDate).diff(moment().startOf("day"), "minutes"), durationMinutes: parseInt(durationMinutes), teacherRegs: [ {