- Linting... Prettier...
This commit is contained in:
@@ -4,21 +4,21 @@ import { createSelector } from 'reselect';
|
||||
const getState = (state) => state;
|
||||
|
||||
export const getProfile = createSelector(
|
||||
[getState],
|
||||
(state) => state.get('profile'),
|
||||
[getState],
|
||||
(state) => state.get('profile'),
|
||||
);
|
||||
|
||||
export const getNomDeBid = createSelector(
|
||||
[getProfile],
|
||||
(profile) => profile.get('nomDeBid'),
|
||||
[getProfile],
|
||||
(profile) => profile.get('nomDeBid'),
|
||||
);
|
||||
|
||||
export const getProfileAvatarUrl = createSelector(
|
||||
[getProfile],
|
||||
(profile) => profile.get('avatar'),
|
||||
[getProfile],
|
||||
(profile) => profile.get('avatar'),
|
||||
);
|
||||
|
||||
export const isAllowedToBid = createSelector(
|
||||
[getProfile],
|
||||
(profile) => profile.get('isAllowedToBid'),
|
||||
[getProfile],
|
||||
(profile) => profile.get('isAllowedToBid'),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user