- Cleanup
This commit is contained in:
8
app/selectors/auth.js
Normal file
8
app/selectors/auth.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { createSelector } from 'reselect';
|
||||
|
||||
const getState = (state) => state;
|
||||
|
||||
export const getAuthToken = createSelector(
|
||||
[getState],
|
||||
(state) => state.get('auth'),
|
||||
);
|
||||
Reference in New Issue
Block a user