mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Make ICU types stricter for inline JSX
This commit is contained in:
@@ -7,7 +7,7 @@ import { isBeta } from '../util/version';
|
||||
import { DialogType } from '../types/Dialogs';
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import { PRODUCTION_DOWNLOAD_URL, BETA_DOWNLOAD_URL } from '../types/support';
|
||||
import { Intl } from './Intl';
|
||||
import { I18n } from './I18n';
|
||||
import { LeftPaneDialog } from './LeftPaneDialog';
|
||||
import type { WidthBreakpoint } from './_util';
|
||||
import { formatFileSize } from '../util/formatFileSize';
|
||||
@@ -48,7 +48,7 @@ export function DialogUpdate({
|
||||
title={i18n('icu:cannotUpdate')}
|
||||
>
|
||||
<span>
|
||||
<Intl
|
||||
<I18n
|
||||
components={{
|
||||
retry: (
|
||||
<button
|
||||
@@ -100,7 +100,7 @@ export function DialogUpdate({
|
||||
title={i18n('icu:cannotUpdate')}
|
||||
>
|
||||
<span>
|
||||
<Intl
|
||||
<I18n
|
||||
components={{
|
||||
url: (
|
||||
<a
|
||||
@@ -142,7 +142,7 @@ export function DialogUpdate({
|
||||
type="warning"
|
||||
>
|
||||
<span>
|
||||
<Intl
|
||||
<I18n
|
||||
components={{
|
||||
app: <strong key="app">Signal.app</strong>,
|
||||
folder: <strong key="folder">/Applications</strong>,
|
||||
|
||||
Reference in New Issue
Block a user