generated from dwd/boilarplate-remix-tailwind-antd
s1
This commit is contained in:
@@ -15,7 +15,7 @@ export default function AdminIndex() {
|
||||
const [error, setError] = useState<Error | null>(null);
|
||||
|
||||
useEffect(() => {
|
||||
fetch(`https://api.teachertrainingkolkata.in/api/quiz-list`)
|
||||
fetch(`http://localhost:5174/api/quiz-list`)
|
||||
.then(res => {
|
||||
if (!res.ok) {
|
||||
throw new Error('Network response was not ok');
|
||||
|
||||
Reference in New Issue
Block a user