Skip to content

Commit

Permalink
Use /story within the Story path
Browse files Browse the repository at this point in the history
  • Loading branch information
zarathustra323 committed Aug 14, 2018
1 parent 6f1cadc commit fc69857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fortnight-web",
"version": "1.0.0-rc.2.1",
"version": "1.0.0-rc.2.2",
"main": "index.js",
"author": "Jacob Bare <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/components/StoryList/Item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const StoryListItem = ({
advertiser,
publishedAt,
}) => (
<Link as={`/story/${path}`} href={`/story?id=${id}`} passHref>
<Link as={`/${path}`} href={`/story?id=${id}`} passHref>
<ListGroupItem tag="a" href="#" className="flex-column align-items-start" action>
<div className="d-flex flex-row justify-content-between">
<div className="d-flex flex-row">
Expand Down

0 comments on commit fc69857

Please sign in to comment.