GoScrobble/web/node_modules/@material-ui/system/esm/merge.js

14 lines
236 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import { deepmerge } from '@material-ui/utils';
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;