frontend changes

This commit is contained in:
ayoitshasya
2025-01-27 03:06:39 +05:30
parent 785025944f
commit 0e0f686c70
19 changed files with 523 additions and 542 deletions

View File

@@ -2,6 +2,7 @@ import React, { useState, useEffect } from "react";
import { useLocation, useNavigate } from "react-router-dom";
import "./CourseTable.css";
import { fetchCourses } from "../api";
import Navbar from "./Navbar";
const CourseTable = () => {
const { state } = useLocation();
@@ -49,6 +50,8 @@ const CourseTable = () => {
};
return (
<>
<Navbar/>
<table className="course-table">
<thead>
<tr>
@@ -73,6 +76,7 @@ const CourseTable = () => {
)}
</tbody>
</table>
</>
);
};