import { AppState } from '../appState' ; export const isLoggedIn = ( state ) => state . authentication . isLoggedIn ; export const getAuthenticatedUserId = ( state ) => state . authentication . userId ;