Skip to content

Commit

Permalink
Link to HN story page while loading/on error
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeinhardt committed May 15, 2022
1 parent 22cdbdf commit a73f806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function List({ keys }: { keys: string[] }) {
{key in data ? (
<Item data={data[key]} highlighted={index === cursor} />
) : (
"…"
<a href={`https://news.ycombinator.com/item?id=${key}`}></a>
)}
</label>
</div>
Expand Down

0 comments on commit a73f806

Please sign in to comment.