arr1 = [{
id: 121212,
name: "name"
}, {
id: 121213,
name: "title"
}, {
id: 121214,
name: "adress"
}],
arr2 = [{
123456: "response",
123487: "response2",
121321: "response3"
}, {
122256: "response4",
123337: "response5",
124441: "response6"
}, {
166656: "response7",
12777: "response8",
1888321: "response9"
}]
result = [{
name: "response",
title: "response2",
adress: "response3"
},
{
name: "response4",
title: "response5",
adress: "response6"
},
{
name: "response7",
title: "response8",
adress: "response9"
}
]
Via Active questions tagged javascript - Stack Overflow https://ift.tt/HOGBID2
I have written a sample code ( Github Link here ). this is a simple next js app, but giving me error when I refresh the page. This seems to be the common problem and I tried the fix provided in the internet but does not seem to fix my issue. The error is Warning: Prop className did not match. Server: "MuiBox-root MuiBox-root-1" Client: "MuiBox-root MuiBox-root-2". Did changes for _document.js, modified _app.js as mentioned in official website and solutions in stackoverflow. but nothing seems to work. Could someone take a look and help me whats wrong with the code? Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment