mirror of
https://github.com/bendtherules/smallcase-portfolio-builder.git
synced 2026-08-18 22:02:56 +00:00
Add utils - for deep clone
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export { deepCloneNaive } from './utils';
|
||||
@@ -0,0 +1,3 @@
|
||||
export function deepCloneNaive(originalObject) {
|
||||
return JSON.parse(JSON.stringify(originalObject));
|
||||
}
|
||||
Reference in New Issue
Block a user