This commit is contained in:
Suvodip
2024-08-05 12:23:01 +05:30
parent 768a1fc0d9
commit f45cb49419
7 changed files with 9 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ export default function ContinueLearning() {
useEffect(() => {
fetch('https://api.teachertrainingkolkata.in//api/continue-learning')
fetch('https://api.teachertrainingkolkata.in/api/continue-learning')
.then(res => {
if (!res.ok) {
throw new Error('Network response was not ok');
@@ -22,6 +22,7 @@ export default function ContinueLearning() {
return res.json();
})
.then(data => {
console.log(data)
setData(data);
setLoading(false);
})