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

Function isSignedInSelector

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

Source from the content-addressed store, hash-verified

27export const isOnlineSelector = state => state[MainApp].isOnline;
28export const isServerOnlineSelector = state => state[MainApp].isServerOnline;
29export const isSignedInSelector = state => !!userSelector(state);
30export const isSocratesOnSelector = state => userSelector(state)?.socrates;
31export const isDonationModalOpenSelector = state =>
32 state[MainApp].showDonationModal;

Callers 4

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
completionEpicFunction · 0.90
failedUpdateEpicFunction · 0.90

Calls 1

userSelectorFunction · 0.85

Tested by

no test coverage detected