diff --git a/frontend/src/Components/BackButton.tsx b/frontend/src/Components/BackButton.tsx index 7a1ac81..4f58140 100644 --- a/frontend/src/Components/BackButton.tsx +++ b/frontend/src/Components/BackButton.tsx @@ -1,5 +1,11 @@ +//info: Back button component to navigate back to the previous page import { useNavigate } from "react-router-dom"; +/** + * Renders a back button component. + * + * @returns The JSX element representing the back button. + */ function BackButton(): JSX.Element { const navigate = useNavigate(); const goBack = (): void => {