-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add canonical tags * fix: update node? * Fix code style issues with ESLint --------- Co-authored-by: Lint Action <[email protected]>
- Loading branch information
1 parent
42b224a
commit 7a3e2d6
Showing
6 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v14 | ||
v16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Helmet } from 'react-helmet' | ||
import { withRouter, RouteComponentProps } from 'react-router-dom' | ||
import React from 'react' | ||
|
||
const WEBSITE_HOST_URL = 'https://v2.info.uniswap.org' | ||
|
||
const Meta = ({ location }: RouteComponentProps): JSX.Element => { | ||
return ( | ||
<Helmet> | ||
<link rel="canonical" href={`${WEBSITE_HOST_URL}${location.pathname}`} /> | ||
</Helmet> | ||
) | ||
} | ||
|
||
export default withRouter(Meta) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7a3e2d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
v2-info – ./
v2.info.uniswap.org
v2-info-uniswap.vercel.app
v2-info-git-v2-uniswap.vercel.app