Skip to content

Commit

Permalink
fix: forward equals option to mapped caches
Browse files Browse the repository at this point in the history
  • Loading branch information
schummar committed Mar 8, 2024
1 parent dfc3335 commit e7aac58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ export class Cache<T> extends Store<Promise<T>> {
const value = await use(this);
return selector(value);
},
{},
{
equals: this.options.equals,
},
derivedFromCache,
);
}
Expand Down

0 comments on commit e7aac58

Please sign in to comment.