Skip to content

Commit 6cbdee7

Browse files
committed
chore: some comments to debug the skipped test
1 parent 560bcf0 commit 6cbdee7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

+3
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ function updateDataFromDocumentSnapshot ({ snapshot, target, key, subs, depth =
173173

174174
function subscribeToDocument ({ ref, target, key, depth, resolve }) {
175175
const subs = Object.create(null)
176+
// console.log('subDoc(1)', key)
177+
// const lol = key
176178
const unbind = ref.onSnapshot(doc => {
179+
// console.log('subDoc(2)', lol, key)
177180
if (doc.exists) {
178181
updateDataFromDocumentSnapshot({
179182
snapshot: createSnapshot(doc),

0 commit comments

Comments
 (0)