change google play link
This commit is contained in:
parent
d63e3eae18
commit
372b91c1ed
File diff suppressed because one or more lines are too long
|
|
@ -5,6 +5,7 @@ import { detectDeviceType } from '../../utils/DetectDeviceType';
|
|||
import { Spin } from 'antd';
|
||||
import Layout from '../../components/layout/Layout';
|
||||
import { ExternalRedirect } from '../../utils/ExternalRedirect';
|
||||
import { Links } from '../../../data.json';
|
||||
|
||||
const Download = () => {
|
||||
const { DeviceType, setDeviceType }: any = useDetectDeviceType();
|
||||
|
|
@ -24,7 +25,7 @@ const Download = () => {
|
|||
<DownloadPage />
|
||||
</Layout>
|
||||
) : (
|
||||
<ExternalRedirect url={DeviceType === 'ios' ? 'https://apps.apple.com' : 'https://play.google.com/store'} />
|
||||
<ExternalRedirect url={DeviceType === 'ios' ? Links.apple_store_link : Links.google_play_link} />
|
||||
)
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user