mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-01 22:01:49 +01:00
Prepare for upgrade to React 19
Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
@@ -26,8 +26,8 @@ export function UnsupportedOSDialog({
|
||||
i18n,
|
||||
type,
|
||||
OS,
|
||||
}: PropsType): JSX.Element | null {
|
||||
const learnMoreLink = (parts: Array<string | JSX.Element>) => (
|
||||
}: PropsType): React.JSX.Element | null {
|
||||
const learnMoreLink = (parts: Array<string | React.JSX.Element>) => (
|
||||
<a
|
||||
key="signal-support"
|
||||
href={UNSUPPORTED_OS_URL}
|
||||
@@ -38,7 +38,7 @@ export function UnsupportedOSDialog({
|
||||
</a>
|
||||
);
|
||||
|
||||
let body: JSX.Element;
|
||||
let body: React.JSX.Element;
|
||||
if (type === 'error') {
|
||||
body = (
|
||||
<I18n
|
||||
|
||||
Reference in New Issue
Block a user