Skip to content

Commit

Permalink
Added href
Browse files Browse the repository at this point in the history
  • Loading branch information
shomilj committed Dec 27, 2021
1 parent 5b2578f commit da6dff6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions client/src/components/home/detailview.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ class DetailView extends React.Component {
return (
<div>
{this.props.loadingDetail ? (
<div style={{ height: "1005" }} className="justify-content-md-center">
</div>
<div
style={{ height: "1005" }}
className="justify-content-md-center"
></div>
) : (
<div>
<Row className="m-1">
Expand Down Expand Up @@ -71,6 +73,12 @@ class DetailView extends React.Component {
{new Date(this.props.selectedPost.date).toLocaleDateString(
"en-US"
)}
. See {" "}
{
<a href={"https://piazza.com/class/hyq0br1u3kx7dg?cid=" + this.props.selectedPost.id}>
original
</a>
}
.
</p>
) : (
Expand Down

0 comments on commit da6dff6

Please sign in to comment.