Skip to content

Commit f46d709

Browse files
committed
cleaning
1 parent 75755d9 commit f46d709

File tree

6 files changed

+1
-490
lines changed

6 files changed

+1
-490
lines changed

netlify/functions-src/___mentors/create-mentor-application.ts

Lines changed: 0 additions & 108 deletions
This file was deleted.

netlify/functions-src/___mentors/get-featured-mentor.ts

Lines changed: 0 additions & 45 deletions
This file was deleted.

netlify/functions-src/___mentors/get-user-applications.ts

Lines changed: 0 additions & 84 deletions
This file was deleted.

netlify/functions-src/___mentors/review-mentor-application.ts

Lines changed: 0 additions & 129 deletions
This file was deleted.

src/context/mentorsContext/MentorsContext.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ import {
1616
updateFavMentorsForUser,
1717
} from '../../favoriteManager';
1818
import { useFilters } from '../../context/filtersContext/FiltersContext';
19-
import { mockMentors } from './mockMentors';
2019

2120
const initialState = {
2221
favorites: [],
2322
mentors: [],
2423
addFavorite: () => {},
25-
// TODO: Replace isLoading with true when app is ready
26-
isLoading: false,
2724
};
2825

2926
export const MentorsContext = createContext(initialState);
@@ -32,8 +29,7 @@ export const MentorsProvider = (props) => {
3229
const { children } = props;
3330

3431
const [favorites, setFavorites] = useState([]);
35-
// TODO: Replace mockMentors with an empty array when app is ready
36-
const [mentors, setMentors] = useState(mockMentors);
32+
const [mentors, setMentors] = useState([]);
3733
const [contextState, setContextState] = useState(initialState);
3834

3935
const { currentUser } = useUser();

0 commit comments

Comments
 (0)