worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
9
node_modules/@mui/system/esm/memoize/memoize.js
generated
vendored
Normal file
9
node_modules/@mui/system/esm/memoize/memoize.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export default function memoize(fn) {
|
||||
const cache = {};
|
||||
return arg => {
|
||||
if (cache[arg] === undefined) {
|
||||
cache[arg] = fn(arg);
|
||||
}
|
||||
return cache[arg];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue