mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 09:18:51 +01:00
Reduce to 50
This commit is contained in:
parent
9f31cc8e07
commit
2c6d18bcfc
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@ import moize from 'moize';
|
||||||
window._moize = moize;
|
window._moize = moize;
|
||||||
|
|
||||||
export default function mem(fn, opts = {}) {
|
export default function mem(fn, opts = {}) {
|
||||||
return moize(fn, { ...opts, maxSize: 100, isDeepEqual: true });
|
return moize(fn, { ...opts, maxSize: 50, isDeepEqual: true });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue