mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
fix-typos-in-actions
This commit is contained in:
parent
d68f156ac7
commit
940bd81f0f
@ -1640,12 +1640,12 @@ export function closeCurrentNotificationWindow () {
|
||||
!hasUnconfirmedTransactions(getState())) {
|
||||
global.platform.closeCurrentWindow()
|
||||
|
||||
dispatch(closeNotifacationWindow())
|
||||
dispatch(closeNotificationWindow())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export function closeNotifacationWindow () {
|
||||
export function closeNotificationWindow () {
|
||||
return {
|
||||
type: actionConstants.CLOSE_NOTIFICATION_WINDOW,
|
||||
}
|
||||
@ -1734,7 +1734,7 @@ export function exportAccount (password, address) {
|
||||
return new Promise((resolve, reject) => {
|
||||
background.submitPassword(password, function (err) {
|
||||
if (err) {
|
||||
log.error('Error in submiting password.')
|
||||
log.error('Error in submitting password.')
|
||||
dispatch(hideLoadingIndication())
|
||||
dispatch(displayWarning('Incorrect Password.'))
|
||||
return reject(err)
|
||||
@ -2230,13 +2230,13 @@ export function setConnectedStatusPopoverHasBeenShown () {
|
||||
}
|
||||
}
|
||||
|
||||
export function loadingMethoDataStarted () {
|
||||
export function loadingMethodDataStarted () {
|
||||
return {
|
||||
type: actionConstants.LOADING_METHOD_DATA_STARTED,
|
||||
}
|
||||
}
|
||||
|
||||
export function loadingMethoDataFinished () {
|
||||
export function loadingMethodDataFinished () {
|
||||
return {
|
||||
type: actionConstants.LOADING_METHOD_DATA_FINISHED,
|
||||
}
|
||||
@ -2251,12 +2251,12 @@ export function getContractMethodData (data = '') {
|
||||
return Promise.resolve(knownMethodData[fourBytePrefix])
|
||||
}
|
||||
|
||||
dispatch(loadingMethoDataStarted())
|
||||
dispatch(loadingMethodDataStarted())
|
||||
log.debug(`loadingMethodData`)
|
||||
|
||||
return getMethodDataAsync(fourBytePrefix)
|
||||
.then(({ name, params }) => {
|
||||
dispatch(loadingMethoDataFinished())
|
||||
dispatch(loadingMethodDataFinished())
|
||||
|
||||
background.addKnownMethodData(fourBytePrefix, { name, params })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user