Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
feat: activity to naviagte to rating form
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Jan 5, 2024
1 parent 2adfbe7 commit 861f392
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ export default function Activity() {
</div>
<p className="mt-3 truncate text-sm text-gray-500">
Rated{" "}
<Link className="text-gray-400" href={rating.url} target="_blank">
<Link
href={`/rate?owner=${
rating.url.split("github.com/")[1].split("/")[0]
}&name=${rating.url.split("github.com/")[1].split("/")[1]}`}
className="text-gray-400"
>
{rating.url.split("github.com/")[1]}
</Link>
</p>
Expand Down

0 comments on commit 861f392

Please sign in to comment.