Skip to content

Commit f8f4e44

Browse files
committed
fix cache key equality
1 parent 41ef77f commit f8f4e44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

catalog/app/components/Assistant/Model/ContextFiles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function useMakeLoader() {
6161
)
6262

6363
return React.useCallback(
64-
(loc: S3ObjectLocation) => Eff.Effect.runPromise(cache.get(loc)),
64+
(loc: S3ObjectLocation) => Eff.Effect.runPromise(cache.get(Eff.Data.struct(loc))),
6565
[cache],
6666
)
6767
}

0 commit comments

Comments
 (0)