first
This commit is contained in:
6
commons/utils/returrn-data.js
Normal file
6
commons/utils/returrn-data.js
Normal file
@@ -0,0 +1,6 @@
|
||||
export const objToArrary = (obj) => {
|
||||
return Object.entries(obj).map(([key, value]) => ({
|
||||
key,
|
||||
...value,
|
||||
}))
|
||||
}
|
||||
Reference in New Issue
Block a user