Skip to content

Commit

Permalink
[docs-infra] Fix GitHub source link redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Aug 30, 2024
1 parent 1995dcc commit 35c3220
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,13 @@ export function ComponentLinkHeader(props: ComponentLinkHeaderProps) {
size="small"
variant="outlined"
rel="nofollow"
href={`${process.env.SOURCE_CODE_REPO}/blob/v${process.env.LIB_VERSION}/${headers.githubSource}`}
href={`${process.env.SOURCE_CODE_REPO}/tree/v${process.env.LIB_VERSION}/${headers.githubSource}`}
icon={<GitHubIcon />}
data-ga-event-category="ComponentLinkHeader"
data-ga-event-action="click"
data-ga-event-label="Source"
data-ga-event-split="0.1"
label="Source"
target="_blank"
/>
</li>
) : null}
Expand Down

0 comments on commit 35c3220

Please sign in to comment.