melhorando a leitura de projetos no mmpCreator

This commit is contained in:
JotaChina committed 2025-12-23 21:23:06 -03:00
1 parent e98a2bc416
commit 05f132dc84
3 files changed
+12 -4

No files matched your search

+8
View File
@@ -128,6 +128,14 @@ export function setUserName(name) {
USER_NAME = name;
}
export function sendActionSafe(action) {
try {
sendAction(action);
} catch (err) {
console.warn("[SYNC] Falha ao emitir ação:", action?.type, err);
}
}
// -----------------------------------------------------------------------------
// CONEXÃO / JOIN / LOGS
// -----------------------------------------------------------------------------