MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / userSelector

Function userSelector

client/src/redux/selectors.js:211–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209export const userThemeSelector = state => userSelector(state)?.theme;
210
211export const userSelector = state => state[MainApp].user.sessionUser;
212export const otherUserSelector = state => state[MainApp].user.otherUser;
213
214export const renderStartTimeSelector = state => state[MainApp].renderStartTime;

Callers 15

mapStateToPropsFunction · 0.90
makeMapStateToPropsFunction · 0.90
submitProjectFunction · 0.90
submitExamFunction · 0.90
savedChallengesSelectorFunction · 0.85
userIdSelectorFunction · 0.85
isDonatingSelectorFunction · 0.85
isSignedInSelectorFunction · 0.85
isSocratesOnSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected