diff --git a/.changeset/lucky-gorillas-punch.md b/.changeset/lucky-gorillas-punch.md new file mode 100644 index 000000000..de8a0b83a --- /dev/null +++ b/.changeset/lucky-gorillas-punch.md @@ -0,0 +1,5 @@ +--- +"fuels-wallet": patch +--- + +chore: remove comment diff --git a/packages/app/src/systems/Core/utils/database.ts b/packages/app/src/systems/Core/utils/database.ts index 164bdf09a..df1fc2429 100644 --- a/packages/app/src/systems/Core/utils/database.ts +++ b/packages/app/src/systems/Core/utils/database.ts @@ -71,7 +71,7 @@ export class FuelDB extends Dexie { if (accounts.length && vaults.length && networks.length) { console.log('saving data to chrome storage', { accounts, - vaults, + vaults: vaults.length, networks, }); for (const account of accounts) { diff --git a/packages/app/src/systems/Core/utils/opfs.ts b/packages/app/src/systems/Core/utils/opfs.ts index 583f5481d..ab583e086 100644 --- a/packages/app/src/systems/Core/utils/opfs.ts +++ b/packages/app/src/systems/Core/utils/opfs.ts @@ -15,7 +15,10 @@ export async function saveToOPFS(data: any) { const root = await initOPFS(); if (!root) return; - console.log('saving data to opfs', data); + console.log('saving data to opfs', { + ...data, + vaults: data.vaults.length, + }); const fileHandle = await root.getFileHandle('backup.json', { create: true }); const writable = await fileHandle.createWritable(); await writable.write(JSON.stringify(data));