We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0b3ee commit 91ce3e2Copy full SHA for 91ce3e2
packages/firestore/src/local/indexeddb_mutation_batch_impl.ts
@@ -80,7 +80,9 @@ export function removeMutationBatch(
80
* Returns an approximate size for the given document.
81
*/
82
export function dbDocumentSize(doc: DbRemoteDocument | null): number {
83
- if (!doc) return 0;
+ if (!doc) {
84
+ return 0;
85
+ }
86
87
let value: unknown;
88
if (doc.document) {
0 commit comments