mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-24 06:45:59 +03:00
Merge pull request #246 from filecoin-project/@gndclouds/view-source-url
fixed view source url path
This commit is contained in:
commit
dba3367569
@ -26,9 +26,7 @@ export default class ViewSourceLink extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
css={STYLES_VIEW_SOURCE_LINK}
|
css={STYLES_VIEW_SOURCE_LINK}
|
||||||
href={`https://github.com/filecoin-project/slate/blob/main/pages/${
|
href={`https://github.com/filecoin-project/slate/blob/main/pages/_/${this.props.file}`}
|
||||||
this.props.file
|
|
||||||
}`}
|
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<SVG.ExpandBox height="12px" style={{ marginRight: 2 }} /> View Source
|
<SVG.ExpandBox height="12px" style={{ marginRight: 2 }} /> View Source
|
||||||
|
Loading…
Reference in New Issue
Block a user