FrontPastel/node_modules/@mui/system/modern/merge.js

10 lines
230 B
JavaScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import deepmerge from '@mui/utils/deepmerge';
function merge(acc, item) {
if (!item) {
return acc;
}
return deepmerge(acc, item, {
clone: false // No need to clone deep, it's way faster.
});
}
export default merge;