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:
@@ -31,7 +31,7 @@ function Source({
|
||||
onSourceClick: (source: PresentedSource) => void;
|
||||
source: PresentableSource;
|
||||
sourceToPresent?: PresentedSource;
|
||||
}): JSX.Element {
|
||||
}): React.JSX.Element {
|
||||
return (
|
||||
<button
|
||||
className={classNames({
|
||||
@@ -76,7 +76,7 @@ export function CallingSelectPresentingSourcesModal({
|
||||
presentingSourcesAvailable,
|
||||
selectPresentingSource,
|
||||
cancelPresenting,
|
||||
}: PropsType): JSX.Element | null {
|
||||
}: PropsType): React.JSX.Element | null {
|
||||
const [sourceToPresent, setSourceToPresent] = useState<
|
||||
PresentedSource | undefined
|
||||
>(undefined);
|
||||
|
||||
Reference in New Issue
Block a user