I'm receiving a response like this from the api, which is not a desired response for mapping
[
[
{
fullname: 'Abc',
email: '[email protected]',
phone: '03000000000',
},
],
[
{
fullname: 'edf',
email: '[email protected]',
phone: '03000000000',
},
],
]
I want to remove the array over each object like this
[
{
fullname: 'Abc',
email: '[email protected]',
phone: '03000000000',
},
{
fullname: 'edf',
email: '[email protected]',
phone: '03000000000',
},
]
How can I achieve that?