From 2c57e4e04abd36acb86e077eb865084e41a60e61 Mon Sep 17 00:00:00 2001 From: Rickson Yang Date: Mon, 3 Jan 2022 21:56:41 -0500 Subject: [PATCH 1/2] fix: remove unexpected starttime-minutes from API call --- pages/admin/class/edit/[id].tsx | 1 - 1 file changed, 1 deletion(-) 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: [ { From d16fd2a5f66e6541a316c3318c0452229d5528ec Mon Sep 17 00:00:00 2001 From: Rickson Yang Date: Mon, 3 Jan 2022 22:01:45 -0500 Subject: [PATCH 2/2] chore(version): update to 0.0.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",