We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44fc8e2 commit ecf1336Copy full SHA for ecf1336
src/pages/hackshack/f2fhelper/template.js
@@ -76,7 +76,7 @@ const Student = (props) => {
76
})
77
.then((response) => {
78
arr.push({ ...response.data });
79
- const data = [...students, ...response.data];
+ const data = [students, { ...response.data }];
80
console.log('response.data =>', response.data);
81
console.log('data =>', data);
82
setStudents(data);
0 commit comments