Merge pull request #338 from emrysal/main

This commit is contained in:
Bailey Pumfleet authored and GitHub committed 2021-07-03 19:53:35 +01:00
commit bdf736c70f
2 files changed
+4

No files matched your search

+2
View File
@@ -215,6 +215,8 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
},
].filter((availability): boolean => typeof availability["days"] !== "undefined");
workingHours.sort((a, b) => a.startTime - b.startTime);
return {
props: {
user,
+2
View File
@@ -850,6 +850,8 @@ export const getServerSideProps: GetServerSideProps<Props> = async ({ req, query
},
];
availability.sort((a, b) => a.startTime - b.startTime);
return {
props: {
user,