mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 11:53:23 +01:00
Prepare for upgrade to React 19
Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
@@ -189,7 +189,7 @@ export const ConversationHeader = memo(function ConversationHeader({
|
||||
setLocalDeleteWarningShown,
|
||||
sharedGroupNames,
|
||||
theme,
|
||||
}: PropsType): JSX.Element | null {
|
||||
}: PropsType): React.JSX.Element | null {
|
||||
// Comes from a third-party dependency
|
||||
const headerRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
@@ -901,7 +901,7 @@ function OutgoingCallButtons({
|
||||
| 'onOutgoingAudioCall'
|
||||
| 'onOutgoingVideoCall'
|
||||
| 'outgoingCallButtonStyle'
|
||||
>): JSX.Element | null {
|
||||
>): React.JSX.Element | null {
|
||||
const disabled =
|
||||
conversation.type === 'group' &&
|
||||
conversation.announcementsOnly &&
|
||||
|
||||
Reference in New Issue
Block a user