Skip to content

Commit

Permalink
Merge pull request #20 from zarathustra323/hotfix-2.2
Browse files Browse the repository at this point in the history
Use /story within the Story path
  • Loading branch information
zarathustra323 authored Aug 14, 2018
2 parents a25bb70 + fc69857 commit 4a2fc4d
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 4a2fc4d

Please sign in to comment.