From fc69857b1d8d23b5f6f3f6e53cb8680bd11a5401 Mon Sep 17 00:00:00 2001 From: Jacob Bare <jacob@limit0.io> Date: Tue, 14 Aug 2018 11:23:27 -0500 Subject: [PATCH] Use /story within the Story path --- package.json | 2 +- src/components/StoryList/Item.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d3e704f..6f8f4bb 100644 --- a/package.json +++ b/package.json @@ -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 <jacob@limit0.io>", "license": "MIT", diff --git a/src/components/StoryList/Item.jsx b/src/components/StoryList/Item.jsx index 80d4c00..2b9c69a 100644 --- a/src/components/StoryList/Item.jsx +++ b/src/components/StoryList/Item.jsx @@ -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">