Implement State management
This commit is contained in:
parent
4173003d32
commit
90afe80408
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ import { Project } from "../Types/goTypes"; // Importing the Project type
|
|||
|
||||
const UserProjectListAdmin: React.FC = () => {
|
||||
// Define the functional component UserProjectListAdmin
|
||||
const [projects, setProjects] = useState<Project[]>([]); // State management for projects
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h2>User Projects</h2>
|
||||
|
|
Loading…
Add table
Reference in a new issue