Skip to content

Commit

Permalink
Bugfix: remove unnecessary slash (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli-ferna authored Dec 5, 2023
1 parent bb0ddb3 commit 82b9c4f
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 13 deletions.
62 changes: 60 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xlabs/portal-bridge-ui",
"version": "0.1.90",
"version": "0.1.91",
"private": true,
"dependencies": {
"@certusone/wormhole-sdk": "^0.10.4",
Expand Down
16 changes: 6 additions & 10 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ import {
import { HelpOutline } from "@material-ui/icons";
import { useCallback } from "react";
import { useHistory, useLocation } from "react-router";
import {
Redirect,
Route,
Switch,
} from "react-router-dom";
import { Redirect, Route, Switch } from "react-router-dom";
import Attest from "./components/Attest";
import Footer from "./components/Footer";
import HeaderText from "./components/HeaderText";
Expand Down Expand Up @@ -227,7 +223,7 @@ function App() {
Token Bridge
</Link>
<Link
href={`${process.env.REACT_APP_BASE_URL}/usdc-bridge/`}
href={`${process.env.REACT_APP_BASE_URL}usdc-bridge/`}
target="_blank"
rel="noopener noreferrer"
color="inherit"
Expand All @@ -236,7 +232,7 @@ function App() {
USDC
</Link>
<Link
href={`${process.env.REACT_APP_BASE_URL}/?sourceChain=sui`}
href={`${process.env.REACT_APP_BASE_URL}?sourceChain=sui`}
target="_blank"
rel="noopener noreferrer"
color="inherit"
Expand All @@ -245,7 +241,7 @@ function App() {
Sui
</Link>
<Link
href={`${process.env.REACT_APP_BASE_URL}/?sourceChain=cosmos`}
href={`${process.env.REACT_APP_BASE_URL}?sourceChain=cosmos`}
target="_blank"
rel="noopener noreferrer"
color="inherit"
Expand All @@ -254,7 +250,7 @@ function App() {
Cosmos
</Link>
<Link
href={`${process.env.REACT_APP_BASE_URL}/docs`}
href={`${process.env.REACT_APP_BASE_URL}docs`}
target="_blank"
rel="noopener noreferrer"
color="inherit"
Expand All @@ -278,7 +274,7 @@ function App() {
<Hidden implementation="css" smUp>
<Tooltip title="View the FAQ">
<IconButton
href={`${process.env.REACT_APP_BASE_URL}/docs`}
href={`${process.env.REACT_APP_BASE_URL}docs`}
target="_blank"
rel="noopener noreferrer"
size="small"
Expand Down

0 comments on commit 82b9c4f

Please sign in to comment.