Skip to content

Commit

Permalink
XLabs/portal-bridge-ui-issues#11 - replace templated string by concat
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Dec 5, 2023
1 parent 65ea35a commit 8b9c26a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/connect/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (redirects) {
const matcher = new RegExp(redirects.join("|"));
const hash = window.location.hash;
if (matcher.test(hash)) {
window.location.href = `${advancedToolsHref}${hash}`;
window.location.href = advancedToolsHref+hash;
}
}

Expand Down
2 changes: 1 addition & 1 deletion apps/connect/src/vite-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ type NavLink = {
declare global {
declare const wormholeConnectConfig: WormholeConnectConfig;
declare const navBar: NavLink[];
declare const redirects: string[] | undefined;
declare const redirects: string[];
declare const advancedToolsHref: string;
}

0 comments on commit 8b9c26a

Please sign in to comment.