minor fix

This commit is contained in:
pavel Hamawand 2024-03-19 03:14:14 +01:00
parent cdbd6ca0ce
commit 52aecd14d4

View file

@ -1,6 +1,5 @@
import { useState, createContext, useEffect } from "react"; import { useState, createContext } from "react";
import { Project } from "../Types/goTypes"; import { Project } from "../Types/goTypes";
import { api } from "../API/API";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import BasicWindow from "../Components/BasicWindow"; import BasicWindow from "../Components/BasicWindow";
@ -28,10 +27,25 @@ function UserProjectPage(): JSX.Element {
// Mock data // Mock data
const projects: Project[] = [ const projects: Project[] = [
{ id: "1", name: "Project Test App" }, {
{ id: "2", name: "Project 2" }, id: 1,
{ id: "3", name: "Project 3" }, name: "Project Test App",
// Add more mock projects as needed 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 => { const handleProjectClick = (projectName: string): void => {