generated from dwd/boilarplate-remix-tailwind-antd
s1
This commit is contained in:
@@ -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);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user