Skip to content

Commit

Permalink
Update proposal link to use a tag (#1066)
Browse files Browse the repository at this point in the history
* Update proposal link to use a tag

* Update
  • Loading branch information
hyifeng authored Nov 18, 2024
1 parent f18571e commit fe0c391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
15 changes: 0 additions & 15 deletions next/components/hardLink.js

This file was deleted.

5 changes: 2 additions & 3 deletions next/components/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import styled from "styled-components";

import Author from "./author";
import InternalLink from "components/internalLink";
import HardLink from "components/hardLink";
import { p_16_semibold } from "styles/textStyles";
import StatusTag from "./statusTag";
import PostTime from "./postTime";
Expand Down Expand Up @@ -105,9 +104,9 @@ export default function Post({ data, showSpace, space }) {
return (
<Wrapper>
<TitleWrapper>
<HardLink href={`/space/${data.space}/proposal/${data.cid}`}>
<a href={`/space/${data.space}/proposal/${data.cid}`}>
<Title>{data.title}</Title>
</HardLink>
</a>
<PostResult data={data} space={spaceInfo} />
</TitleWrapper>
<Divider />
Expand Down

0 comments on commit fe0c391

Please sign in to comment.