diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-06-05 16:28:45 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-05 12:58:45 +0200 |
commit | aa6689e6158efde28b68948cd8b67d55080158d2 (patch) | |
tree | 6e687fb7b5e2eb37c0027ba31d968b04632f5771 /src/components/auth/AuthLayout.js | |
parent | Reused commonly defined method for 'apiBase' (diff) | |
download | ferdium-app-aa6689e6158efde28b68948cd8b67d55080158d2.tar.gz ferdium-app-aa6689e6158efde28b68948cd8b67d55080158d2.tar.zst ferdium-app-aa6689e6158efde28b68948cd8b67d55080158d2.zip |
Removed hardcoded strings and reused constants defined in config.js (#1499)
Diffstat (limited to 'src/components/auth/AuthLayout.js')
-rw-r--r-- | src/components/auth/AuthLayout.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/auth/AuthLayout.js b/src/components/auth/AuthLayout.js index 4783fc6a0..6fa3adf92 100644 --- a/src/components/auth/AuthLayout.js +++ b/src/components/auth/AuthLayout.js | |||
@@ -12,6 +12,7 @@ import globalMessages from '../../i18n/globalMessages'; | |||
12 | 12 | ||
13 | import { isWindows } from '../../environment'; | 13 | import { isWindows } from '../../environment'; |
14 | import AppUpdateInfoBar from '../AppUpdateInfoBar'; | 14 | import AppUpdateInfoBar from '../AppUpdateInfoBar'; |
15 | import { GITHUB_FERDI_URL } from '../../config'; | ||
15 | 16 | ||
16 | export default @observer class AuthLayout extends Component { | 17 | export default @observer class AuthLayout extends Component { |
17 | static propTypes = { | 18 | static propTypes = { |
@@ -94,7 +95,7 @@ export default @observer class AuthLayout extends Component { | |||
94 | })} | 95 | })} |
95 | </div> | 96 | </div> |
96 | {/* </div> */} | 97 | {/* </div> */} |
97 | <Link to="https://github.com/getferdi/ferdi" className="auth__adlk" target="_blank"> | 98 | <Link to={`${GITHUB_FERDI_URL}/ferdi`} className="auth__adlk" target="_blank"> |
98 | <img src="./assets/images/adlk.svg" alt="" /> | 99 | <img src="./assets/images/adlk.svg" alt="" /> |
99 | </Link> | 100 | </Link> |
100 | </div> | 101 | </div> |