Match-id-968a747b74974ffdecf73d9500293487f6bb2592

This commit is contained in:
* 2023-02-17 18:20:18 +08:00
parent c1aeba5e70
commit cdedd81f6b
1 changed files with 0 additions and 4 deletions

View File

@ -175,11 +175,7 @@ window.addEventListener('message', messageEvent => {
}
// executes store action
<<<<<<< HEAD
if (messageEvent.data.payload.type === 'horizonx executue action') {
=======
if (messageEvent.data?.payload?.type === 'horizonx executue action') {
>>>>>>> master
const data = messageEvent.data.payload.data;
const store = getStore(data.storeId);
if (!store?.[data.action]) return;