minor fix
This commit is contained in:
parent
cdbd6ca0ce
commit
52aecd14d4
1 changed files with 20 additions and 6 deletions
|
@ -1,6 +1,5 @@
|
|||
import { useState, createContext, useEffect } from "react";
|
||||
import { useState, createContext } from "react";
|
||||
import { Project } from "../Types/goTypes";
|
||||
import { api } from "../API/API";
|
||||
import { Link } from "react-router-dom";
|
||||
import BasicWindow from "../Components/BasicWindow";
|
||||
|
||||
|
@ -28,10 +27,25 @@ function UserProjectPage(): JSX.Element {
|
|||
|
||||
// Mock data
|
||||
const projects: Project[] = [
|
||||
{ id: "1", name: "Project Test App" },
|
||||
{ id: "2", name: "Project 2" },
|
||||
{ id: "3", name: "Project 3" },
|
||||
// Add more mock projects as needed
|
||||
{
|
||||
id: 1,
|
||||
name: "Project Test App",
|
||||
description: "Description 1",
|
||||
owner: "Owner 1",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "Project 2",
|
||||
description: "Description 2",
|
||||
owner: "Owner 2",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "Project 3",
|
||||
description: "Description 3",
|
||||
owner: "Owner 3",
|
||||
},
|
||||
// Add more mock projects as neededects as needed
|
||||
];
|
||||
|
||||
const handleProjectClick = (projectName: string): void => {
|
||||
|
|
Loading…
Reference in a new issue