fix(deep-linking): do not accept native app name as raw html

There is no need to display the native app name as
raw html.
This commit is contained in:
Leonard Kim 2019-08-03 17:08:43 -07:00 committed by virtuacoplenny
parent a2cbd9229a
commit 1409d6fb5e
1 changed files with 2 additions and 7 deletions

View File

@ -4,7 +4,7 @@ import React, { Component } from 'react';
import { connect } from '../../base/redux';
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
import { translate, translateToHTML } from '../../base/i18n';
import { translate } from '../../base/i18n';
import { Platform } from '../../base/react';
import { DialInSummary } from '../../invite';
@ -109,12 +109,7 @@ class DeepLinkingMobilePage extends Component<Props> {
: null
}
<p className = { `${_SNS}__text` }>
{
translateToHTML(
t,
`${_TNS}.appNotInstalled`,
{ app: NATIVE_APP_NAME })
}
{ t(`${_TNS}.appNotInstalled`, { app: NATIVE_APP_NAME }) }
</p>
<a
href = { this._generateDownloadURL() }