Skip to content

Commit ee79803

Browse files
committed
chore: remove old todos
1 parent f19a328 commit ee79803

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,7 @@ function bindCollection ({
162162

163163
function updateDataFromDocumentSnapshot ({ snapshot, target, path, subs, depth = 0, resolve }) {
164164
const [data, refs] = extractRefs(snapshot, walkGet(target, path))
165-
// TODO use walkSet?
166165
walkSet(target, path, data)
167-
// target[key] = data
168166
subscribeToRefs({
169167
data,
170168
subs,
@@ -192,9 +190,7 @@ function subscribeToDocument ({ ref, target, path, depth, resolve }) {
192190
resolve
193191
})
194192
} else {
195-
// TODO use deep set
196193
walkSet(target, path, null)
197-
// target[path] = null
198194
resolve()
199195
}
200196
})

0 commit comments

Comments
 (0)