Skip to content

Commit e6033b8

Browse files
authored
Update src/hooks/useGlobalCache.tsx
1 parent 893a0bf commit e6033b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useGlobalCache.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default function useGlobalCache<CacheType>(
9090
onCacheEffect?.(cacheContent);
9191
effectMap.set(fullPathStr, true);
9292

93-
// 微任务清理混存,可以认为是单次 batch render 中只触发一次 effect
93+
// 微任务清理缓存,可以认为是单次 batch render 中只触发一次 effect
9494
Promise.resolve().then(() => {
9595
effectMap.delete(fullPathStr);
9696
});

0 commit comments

Comments
 (0)