Skip to content
Snippets Groups Projects
Unverified Commit efd294dc authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:bug: fix plain-text link in simplefin error (#3151)

parent 0eb62a09
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,15 @@ function getErrorMessage(type, code) { ...@@ -39,7 +39,15 @@ function getErrorMessage(type, code) {
return 'Your SimpleFIN Access Token is no longer valid. Please reset and generate a new token.'; return 'Your SimpleFIN Access Token is no longer valid. Please reset and generate a new token.';
case 'ACCOUNT_NEEDS_ATTENTION': case 'ACCOUNT_NEEDS_ATTENTION':
return 'The account needs your attention at [SimpleFIN](https://beta-bridge.simplefin.org/auth/login).'; return (
<>
The account needs your attention at{' '}
<Link variant="external" to="https://bridge.simplefin.org/auth/login">
SimpleFIN
</Link>
.
</>
);
default: default:
} }
......
...@@ -60,7 +60,7 @@ export const SimpleFinInitialise = ({ ...@@ -60,7 +60,7 @@ export const SimpleFinInitialise = ({
by creating an account with{' '} by creating an account with{' '}
<Link <Link
variant="external" variant="external"
to="https://beta-bridge.simplefin.org/" to="https://bridge.simplefin.org/"
linkColor="purple" linkColor="purple"
> >
SimpleFIN SimpleFIN
......
---
category: Bugfix
authors: [MatissJanis]
---
Fix plain-text SimpleFin link in error message.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment