Merge pull request #246 from filecoin-project/@gndclouds/view-source-url

fixed view source url path
This commit is contained in:
CAKE 2020-09-10 08:27:38 -07:00 committed by GitHub
commit dba3367569
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,9 +26,7 @@ export default class ViewSourceLink extends React.Component {
return (
<a
css={STYLES_VIEW_SOURCE_LINK}
href={`https://github.com/filecoin-project/slate/blob/main/pages/${
this.props.file
}`}
href={`https://github.com/filecoin-project/slate/blob/main/pages/_/${this.props.file}`}
target="_blank"
>
<SVG.ExpandBox height="12px" style={{ marginRight: 2 }} /> View Source