Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
EMcNugget committed Nov 14, 2024
1 parent 2259332 commit bf60f91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/routes/(authed)/dash/sessions/[sessionId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
function reschedule_helper() {
if (!data.isMentor) {
if (data.isMentor) {
rescheduleOpen = true;
} else {
const queryParam = new URLSearchParams();
Expand Down
7 changes: 4 additions & 3 deletions src/routes/(authed)/schedule/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const load: PageServerLoad = async ({ cookies, url }) => {
? url.searchParams.get('type')
: null;

const orginalSessionId = url.searchParams.get('sessionId')!;
const originalSessionId = url.searchParams.get('sessionId')!;

return {
user,
Expand All @@ -199,7 +199,7 @@ export const load: PageServerLoad = async ({ cookies, url }) => {
sessionTypes: sTypes,
slotData,
originalSessionType,
orginalSessionId
originalSessionId
};
};

Expand Down Expand Up @@ -283,7 +283,8 @@ export const actions: Actions = {
mentor: slotObj.mentor,
student: user.id,
start: start.toISO(),
type: requestedType
type: requestedType,
timezone
});

if (reschedule) {
Expand Down

0 comments on commit bf60f91

Please sign in to comment.