Docs/Comments to user project menu component

This commit is contained in:
Davenludd 2024-03-20 13:56:42 +01:00
parent c7c38d4201
commit 29d893362c

View file

@ -1,6 +1,13 @@
//info: User project menu component to display the user project menu where the user can navigate to
//existing time reports in a project and create a new time report
import { useParams, Link } from "react-router-dom"; import { useParams, Link } from "react-router-dom";
import { JSX } from "react/jsx-runtime"; import { JSX } from "react/jsx-runtime";
/**
* Renders the user project menu component.
*
* @returns JSX.Element representing the user project menu.
*/
function UserProjectMenu(): JSX.Element { function UserProjectMenu(): JSX.Element {
const { projectName } = useParams(); const { projectName } = useParams();