diff --git a/app/actions/accounts.js b/app/actions/accounts.js index fbfdc4e..8ab8599 100644 --- a/app/actions/accounts.js +++ b/app/actions/accounts.js @@ -30,5 +30,8 @@ export const checkAndDispatchStatusContactCode = dispatch => { if (statusApiSuccess(event) && hasContactCode()) dispatch(receiveStatusContactCode(STATUS_API[CONTACT_CODE])) }); - window.postMessage({ type: STATUS_API_REQUEST, permissions: ["CONTACT_CODE", "CONTACTS"] }, '*'); + setTimeout( + () => { window.postMessage({ type: STATUS_API_REQUEST, permissions: ["CONTACT_CODE", "CONTACTS"] }, '*') }, + 1000 + ) }