mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
6a17d76efc
* added select-action-modal skeleton * added select action modal item * replaced stake link with constant * added route for open and close of modal * updated lint errors * lint fix * updated tests * revert unnecessary changes * fixed lint errors * added suggestions * lint fix * updated test * nit fix * updated select action item to use button * removed unused fragments * moved onClose command to bottom * moved select action modal on footer click * changed isDisabled to disabled * added hover and updated test * nit fix
15 lines
342 B
TypeScript
15 lines
342 B
TypeScript
import { Action } from 'redux';
|
|
import * as actionConstants from '../../../store/actionConstants';
|
|
|
|
export function showSelectActionModal(): Action {
|
|
return {
|
|
type: actionConstants.SELECT_ACTION_MODAL_OPEN,
|
|
};
|
|
}
|
|
|
|
export function hideSelectActionModal(): Action {
|
|
return {
|
|
type: actionConstants.SELECT_ACTION_MODAL_CLOSE,
|
|
};
|
|
}
|