Skip to content

Commit

Permalink
added rel prop for better SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Martinoli committed Jul 14, 2021
1 parent ee39505 commit 451dabc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- `rel` prop for better SEO

## [8.128.4] - 2021-04-22

Expand Down
2 changes: 2 additions & 0 deletions react/components/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ interface Props extends NavigateOptions {
className?: string
target?: string
waitToPrefetch?: number
rel?: HTMLAnchorElement['rel']
}

const appendWorkspaceToURL = (
Expand Down Expand Up @@ -55,6 +56,7 @@ const Link: React.FunctionComponent<Props> = ({
modifiersOptions,
target,
waitToPrefetch,
rel,
...linkProps
}) => {
const {
Expand Down

0 comments on commit 451dabc

Please sign in to comment.