Merge pull request #13 from storybooks/7-edit-this-page-link

Fix edit this page link
This commit is contained in:
Xavier Cazalot 2017-04-28 08:53:39 +02:00 committed by GitHub
commit 0fbcef04e9

View File

@ -29,7 +29,7 @@ class Container extends React.Component {
const gitHubRepoUrl = 'https://github.com/storybooks/storybooks.github.io';
const docPath = `${selectedCatId}/${selectedSectionId}/${selectedItemId}`;
const gitHubRepoDocUrl = `${gitHubRepoUrl}/tree/master/src/docs/${docPath}.js`;
const gitHubRepoDocUrl = `${gitHubRepoUrl}/tree/source/src/docs/${docPath}.js`;
return (
<div id="docs-container" className="row">