Skip to content

Commit

Permalink
removed todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
overthemike committed Oct 15, 2024
1 parent f1fc6b8 commit a758e14
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/vanilla/utils/proxyMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ export function proxyMap<K, V>(entries?: Iterable<[K, V]> | undefined | null) {
const latestSnap = cache?.[1]
if (latestSnap && !snapMapCache.has(latestSnap)) {
const clonedMap = new Map(indexMap)
// TODO: should we support snapshot keys?
// for (const [k, i] of indexMap) {
// if (isProxy(k)) {
// clonedMap.set(snapshot(k as object) as K, i)
// }
// }
snapMapCache.set(latestSnap, clonedMap)
return true
}
Expand Down

0 comments on commit a758e14

Please sign in to comment.