2020-09-10 17:09:27 -07:00
|
|
|
export const PROFILE_HOVER_CARD_OPEN = 'PROFILE_HOVER_CARD_OPEN';
|
2020-09-11 08:05:52 -07:00
|
|
|
export const PROFILE_HOVER_CARD_UPDATE = 'PROFILE_HOVER_CARD_UPDATE';
|
|
|
|
export const PROFILE_HOVER_CARD_CLOSE = 'PROFILE_HOVER_CARD_CLOSE';
|
2020-09-10 17:09:27 -07:00
|
|
|
|
|
|
|
export function openProfileHoverCard(ref, accountId) {
|
|
|
|
return {
|
|
|
|
type: PROFILE_HOVER_CARD_OPEN,
|
|
|
|
ref,
|
|
|
|
accountId,
|
|
|
|
};
|
|
|
|
}
|
2020-09-10 18:18:04 -07:00
|
|
|
|
2020-09-11 08:05:52 -07:00
|
|
|
export function updateProfileHoverCard() {
|
2020-09-10 18:18:04 -07:00
|
|
|
return {
|
2020-09-11 08:05:52 -07:00
|
|
|
type: PROFILE_HOVER_CARD_UPDATE,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export function closeProfileHoverCard(force = false) {
|
|
|
|
return {
|
|
|
|
type: PROFILE_HOVER_CARD_CLOSE,
|
|
|
|
force,
|
2020-09-10 18:18:04 -07:00
|
|
|
};
|
|
|
|
}
|