Prepare for upgrade to React 19

Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
Jamie
2025-12-23 13:42:56 -08:00
committed by GitHub
parent fe94991ea2
commit b405e3d83d
716 changed files with 3129 additions and 2881 deletions

View File

@@ -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