diff --git a/src/vanilla/utils/proxyMap.ts b/src/vanilla/utils/proxyMap.ts index a06afee3..227bb694 100644 --- a/src/vanilla/utils/proxyMap.ts +++ b/src/vanilla/utils/proxyMap.ts @@ -21,12 +21,6 @@ export function proxyMap(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 }