mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Prepare for upgrade to React 19
Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
@@ -17,11 +17,11 @@ export function SafetyNumberModal({
|
||||
i18n,
|
||||
toggleSafetyNumberModal,
|
||||
...safetyNumberViewerProps
|
||||
}: PropsType): JSX.Element | null {
|
||||
}: PropsType): React.JSX.Element | null {
|
||||
const { contact } = safetyNumberViewerProps;
|
||||
|
||||
let title: string | undefined;
|
||||
let content: JSX.Element;
|
||||
let content: React.JSX.Element;
|
||||
let hasXButton = true;
|
||||
if (isSafetyNumberNotAvailable(contact)) {
|
||||
content = (
|
||||
|
||||
Reference in New Issue
Block a user