Reduce to 50

This commit is contained in:
Lim Chee Aun 2023-11-04 19:19:42 +08:00
parent 9f31cc8e07
commit 2c6d18bcfc

View file

@ -3,5 +3,5 @@ import moize from 'moize';
window._moize = moize;
export default function mem(fn, opts = {}) {
return moize(fn, { ...opts, maxSize: 100, isDeepEqual: true });
return moize(fn, { ...opts, maxSize: 50, isDeepEqual: true });
}