Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion client/src/modules/home/modules/project/v1/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect } from 'react';
import { Link, useParams } from 'react-router-dom';
import { Link, useParams, useNavigate } from 'react-router-dom';
import { Box, Button, Avatar, Link as MuiLink } from '@mui/material';
import { getDay } from '../../../../../shared/utils/date';
import { useAtomValue } from 'jotai';
Expand All @@ -18,13 +18,16 @@ import {
import { useA2ZTheme } from '../../../../../shared/hooks/use-theme';
import OpenInNewIcon from '@mui/icons-material/OpenInNew';
import GitHubIcon from '@mui/icons-material/GitHub';
import ArrowBackIcon from '@mui/icons-material/ArrowBack';
import { getAllProjectsResponse } from '../../../../../infra/rest/apis/project/typing';
import { OutputBlockData } from '@editorjs/editorjs';
import { CommentsWrapperAtom } from '../../../../../shared/components/organisms/comments-wrapper/states';
import A2ZTypography from '../../../../../shared/components/atoms/typography';
import Header from '../../../../../shared/components/organisms/header';

const Project = () => {
const { project_id } = useParams();
const navigate = useNavigate();
const { theme: a2zTheme } = useA2ZTheme();
const selectedProject = useAtomValue(SelectedProjectAtom);
const similarProjects = useAtomValue(HomePageProjectsAtom);
Expand All @@ -45,6 +48,17 @@ const Project = () => {
return (
<>
{commentsWrapper && <CommentsWrapper />}
<Header
leftSideChildren={
<Button
Copy link
Collaborator

@Avdhesh-Varshney Avdhesh-Varshney Jan 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of button, use A2ZIconButton

onClick={() => navigate(-1)}
variant="outlined"
color="inherit"
startIcon={<ArrowBackIcon />}
>
</Button>
}
/>

<Box
sx={{
Expand Down
Loading