Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Title in my projects should be clickable link #3005

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
} from '@giveth/ui-design-system';
import { Dispatch, FC, SetStateAction, useState } from 'react';
import styled from 'styled-components';

import { useIntl } from 'react-intl';
import Link from 'next/link';
import { EOrderBy, IOrder } from '../UserProfile.view';
import { idToProjectEdit, slugToProjectView } from '@/lib/routeCreators';
import { EProjectStatus } from '@/apollo/types/gqlEnums';
Expand Down Expand Up @@ -93,7 +93,11 @@ const ProjectsTable: FC<IProjectsTable> = ({
</ProjectTableCell>
<ProjectTableCell bold>
<ProjectTitle>
{project.title}
<Link
href={slugToProjectView(project.slug)}
>
{project.title}
</Link>
<VerificationBadge
isVerified={project.verified}
verificationStatus={
Expand Down
Loading