This commit is contained in:
everythingonblack
2025-05-16 19:54:09 +07:00
parent da317f83c9
commit b726ae6919
5 changed files with 89 additions and 49 deletions

View File

@@ -272,6 +272,8 @@ export default function Invoice({ shopId, setModal, table, sendParam, deviceType
socketId
);
localStorage.removeItem('lastTransaction')
// Dispatch the custom event
window.dispatchEvent(new Event("localStorageUpdated"));
}
else