fixed view source url path

This commit is contained in:
William Felker 2020-09-10 19:03:03 +08:00
parent 8a96f2b05d
commit 354aa027c3

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