mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Prepare for upgrade to React 19
Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
@@ -60,7 +60,7 @@ export function EditConversationAttributesModal({
|
||||
replaceAvatar,
|
||||
saveAvatarToDisk,
|
||||
userAvatarData,
|
||||
}: PropsType): JSX.Element {
|
||||
}: PropsType): React.JSX.Element {
|
||||
const focusDescriptionRef = useRef<undefined | boolean>(
|
||||
initiallyFocusDescription
|
||||
);
|
||||
@@ -153,7 +153,7 @@ export function EditConversationAttributesModal({
|
||||
|
||||
const avatarUrlForPreview = hasAvatarChanged ? undefined : externalAvatarUrl;
|
||||
|
||||
let content: JSX.Element;
|
||||
let content: React.JSX.Element;
|
||||
if (editingAvatar) {
|
||||
content = (
|
||||
<AvatarEditor
|
||||
|
||||
Reference in New Issue
Block a user