aboutsummaryrefslogtreecommitdiff
path: root/src/webex/renderHtml.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-07 01:23:29 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-07 01:23:29 +0530
commit1471aae8927c20d646cc2aa5ab0e20c1a7f2c0ca (patch)
tree32d32d7f33b2ca64cf101006442b1b17bfaf61aa /src/webex/renderHtml.tsx
parent47787c0b0b846d5f4a057661efdd05d8786032f1 (diff)
downloadwallet-core-1471aae8927c20d646cc2aa5ab0e20c1a7f2c0ca.tar.xz
linter / simpler webextension pack
Diffstat (limited to 'src/webex/renderHtml.tsx')
-rw-r--r--src/webex/renderHtml.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webex/renderHtml.tsx b/src/webex/renderHtml.tsx
index 8fc6a6a63..f5a6a7e4d 100644
--- a/src/webex/renderHtml.tsx
+++ b/src/webex/renderHtml.tsx
@@ -335,9 +335,9 @@ export function ProgressButton(
export function PageLink(
props: React.PropsWithChildren<{ pageName: string }>,
): JSX.Element {
- const url = chrome.extension.getURL(`/src/webex/pages/${props.pageName}`);
+ const url = chrome.extension.getURL(`/${props.pageName}`);
return (
- <a className="actionLink" href={url} target="_blank">
+ <a className="actionLink" href={url} target="_blank" rel="noopener noreferrer">
{props.children}
</a>
);