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

@@ -18,7 +18,7 @@ import type { LocalizerType } from '../types/Util.std.js';
import type { DismissOptions } from './LeftPaneDialog.dom.js';
import type { WidthBreakpoint } from './_util.std.js';
function contactSupportLink(parts: ReactNode): JSX.Element {
function contactSupportLink(parts: ReactNode): React.JSX.Element {
return (
<a
key="signal-support"
@@ -57,9 +57,9 @@ export function DialogUpdate({
startUpdate,
version,
currentVersion,
}: PropsType): JSX.Element | null {
}: PropsType): React.JSX.Element | null {
const retryUpdateButton = useCallback(
(parts: ReactNode): JSX.Element => {
(parts: ReactNode): React.JSX.Element => {
return (
<button
className="LeftPaneDialog__retry"