Skip to content

Commit 3023723

Browse files
committed
Fix NAT and Forgot Password links
Signed-off-by: Mantas Domaševičius <mantas@mysterium.network>
1 parent ccfb2d2 commit 3023723

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/Pages/Authenticated/SettingsPage/Tabs/Advanced/NATTooltip.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { nat2Human } from './utils'
1212
import { Link } from '../../../../../Components/Common/Link'
1313
import { InfoIcon } from '../../../../../Components/Icons/Icons'
1414
import { Tooltip } from '../../../../../Components/Tooltip/Tooltip'
15+
import { DOCS_NAT_FIX } from '../../../../../constants/urls'
1516

1617
const TooltipContainer = styled.div`
1718
display: flex;
@@ -54,7 +55,7 @@ const description = (type: NATType): ReactNode => {
5455
<div>
5556
Your node can accept connections from some of the users, but cannot receive connections from users whose NAT
5657
type is symmetric. Please see our{' '}
57-
<Link href="https://docs.mysterium.network/troubleshooting/nat-traversal" target="_blank" rel="noreferrer">
58+
<Link href={DOCS_NAT_FIX} target="_blank" rel="noreferrer">
5859
documentation
5960
</Link>{' '}
6061
for further information.
@@ -65,7 +66,7 @@ const description = (type: NATType): ReactNode => {
6566
<div>
6667
Your node can accept connections from some of the users, but cannot receive connections from users whose NAT
6768
type are symmetric and port-restricted cone. Please see our{' '}
68-
<Link href="https://docs.mysterium.network/troubleshooting/nat-traversal" target="_blank" rel="noreferrer">
69+
<Link href={DOCS_NAT_FIX} target="_blank" rel="noreferrer">
6970
documentation
7071
</Link>{' '}
7172
for further information.

src/Pages/Login/LoginPage.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import { ReactComponent as LoginLogo } from '../../assets/images/onboarding/logi
2424
import { devices } from '../../theme/themes'
2525
import complexActions from '../../redux/complex.actions'
2626
import { MystnodesSSO } from './MystnodesSSO'
27+
import { DOCS_FORGOT_PASSWORD } from '../../constants/urls'
2728

2829
const { api } = tequila
2930

@@ -204,11 +205,7 @@ const LoginPage = ({ onSuccess = () => {} }: Props) => {
204205
/>
205206

206207
<Footer>
207-
<Link
208-
data-test-id="LoginPage.forgotPassword"
209-
href="https://docs.mysterium.network/troubleshooting/forgot-password"
210-
target="_blank"
211-
>
208+
<Link data-test-id="LoginPage.forgotPassword" href={DOCS_FORGOT_PASSWORD} target="_blank">
212209
Forgot password?
213210
</Link>
214211
</Footer>

0 commit comments

Comments
 (0)