mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Make ICU types stricter for inline JSX
This commit is contained in:
@@ -5,7 +5,7 @@ import React from 'react';
|
||||
|
||||
import { Button, ButtonVariant } from './Button';
|
||||
import { Modal } from './Modal';
|
||||
import { Intl } from './Intl';
|
||||
import { I18n } from './I18n';
|
||||
import { openLinkInWebBrowser } from '../util/openLinkInWebBrowser';
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import { SAFETY_NUMBER_URL } from '../types/support';
|
||||
@@ -26,15 +26,15 @@ export function SafetyNumberNotReady({
|
||||
return (
|
||||
<div className="module-SafetyNumberNotReady">
|
||||
<div>
|
||||
<Intl i18n={i18n} id="icu:SafetyNumberNotReady__body" />
|
||||
<I18n i18n={i18n} id="icu:SafetyNumberNotReady__body" />
|
||||
</div>
|
||||
|
||||
<Modal.ButtonFooter>
|
||||
<Button onClick={onLearnMore} variant={ButtonVariant.Secondary}>
|
||||
<Intl i18n={i18n} id="icu:SafetyNumberNotReady__learn-more" />
|
||||
<I18n i18n={i18n} id="icu:SafetyNumberNotReady__learn-more" />
|
||||
</Button>
|
||||
<Button onClick={onClose} variant={ButtonVariant.Secondary}>
|
||||
<Intl i18n={i18n} id="icu:ok" />
|
||||
<I18n i18n={i18n} id="icu:ok" />
|
||||
</Button>
|
||||
</Modal.ButtonFooter>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user