Skip to content

Commit

Permalink
ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
plumshum committed Nov 17, 2024
1 parent 6a0b4d2 commit f00b29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export const initializeFirestoreListeners = (onLoad: () => void): (() => void) =
const plan = getFirstPlan(data);
store.commit('setPlans', data.plans);
store.commit('setCurrentPlan', plan);
store.commit('setSavedCourses', data.savedCourses);
store.commit('setSavedCourses', data.savedCourses);
const { orderByNewest } = data;
store.commit('setSemesters', plan.semesters);
updateDoc(doc(fb.semestersCollection, simplifiedUser.email), {
Expand All @@ -357,7 +357,7 @@ export const initializeFirestoreListeners = (onLoad: () => void): (() => void) =
store.commit('setOrderByNewest', orderByNewest === undefined ? true : orderByNewest);
} else {
const plans = [{ name: 'Plan 1', semesters: [] }];
const savedCourses = [{ name: 'All', courses: [] }];
const savedCourses = [{ name: 'All', courses: [] }];
store.commit('setPlans', plans);
store.commit('setCurrentPlan', plans[0]);
store.commit('setSavedCourses', savedCourses);
Expand Down

0 comments on commit f00b29a

Please sign in to comment.