- Linting... Prettier...
This commit is contained in:
@@ -3,11 +3,11 @@ import { createSelector } from 'reselect';
|
||||
const getState = (state) => state;
|
||||
|
||||
export const getActiveEventId = createSelector(
|
||||
[getState],
|
||||
(state) => state.get('activeEvent'),
|
||||
[getState],
|
||||
(state) => state.get('activeEvent'),
|
||||
);
|
||||
|
||||
export const hasActiveEvent = createSelector(
|
||||
[getActiveEventId],
|
||||
(eventId) => !!eventId,
|
||||
[getActiveEventId],
|
||||
(eventId) => !!eventId,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user