Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: remove unnecessary slash #573

Merged
merged 3 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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