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

This commit is contained in:
Matiss Janis Aboltins
2024-07-28 14:57:24 +01:00
committed by GitHub
parent 0eb62a09bc
commit efd294dcef
3 changed files with 16 additions and 2 deletions

View File

@@ -39,7 +39,15 @@ function getErrorMessage(type, code) {
return 'Your SimpleFIN Access Token is no longer valid. Please reset and generate a new token.';
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:
}

View File

@@ -60,7 +60,7 @@ export const SimpleFinInitialise = ({
by creating an account with{' '}
<Link
variant="external"
to="https://beta-bridge.simplefin.org/"
to="https://bridge.simplefin.org/"
linkColor="purple"
>
SimpleFIN

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MatissJanis]
---
Fix plain-text SimpleFin link in error message.