Open dj-256 opened 6 days ago
setPreference
getPreference
useUser
useUserInfo
userInfo
AppContext
checkToken
checkTokenAndFetchUser
history.replace
checkJs
QUERY_KEYS
useSearchCandidates
useFetchSources
useSkipOnboarding
setPreference
andgetPreference
functionsuseUser
anduseUserInfo
hooks to get data from preferencesuserInfo
global stateAppContext
checkToken
intocheckTokenAndFetchUser
in auth.jshistory.replace
in LoginOkScreen.jsxcheckJs
in tsconfig.json and fix typingQUERY_KEYS
useSearchCandidates
anduseFetchSources
hooksuseSkipOnboarding
hook to automatically skip onboarding if the configuration allows ituseSkipOnboarding
hook in App.jsx