BOD-70 refactor schedule to use query string

This commit is contained in:
Patrick Fic
2020-05-07 11:25:30 -07:00
parent 723f8da825
commit 3d74a4106e
5 changed files with 83 additions and 37 deletions

View File

@@ -12,7 +12,7 @@ export default function ScheduleCalendarContainer() {
if (loading) return <LoadingSpinner />;
if (error) return <AlertComponent message={error.message} type="error" />;
let normalizedData = data.appointments.map(e => {
let normalizedData = data.appointments.map((e) => {
//Required becuase Hasura returns a string instead of a date object.
return Object.assign(
{},