Skip to content

Commit 44fc8e2

Browse files
show creds for customer who lastemailsent is credentials or expiring
1 parent 1b5cfc2 commit 44fc8e2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/pages/hackshack/f2fhelper/template.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,13 @@ const Student = (props) => {
7676
})
7777
.then((response) => {
7878
arr.push({ ...response.data });
79+
const data = [...students, ...response.data];
80+
console.log('response.data =>', response.data);
81+
console.log('data =>', data);
82+
setStudents(data);
83+
7984
if (arr.length <= 0)
8085
setError('There are currently no active students. Stay tuned!');
81-
setStudents([...students, ...response.data]);
8286
})
8387
.catch((err) => {
8488
if (err.response.status === 401) {

0 commit comments

Comments
 (0)