mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 23:49:20 +01:00
Prepare for upgrade to React 19
Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
@@ -20,22 +20,22 @@ const defaultProps = {
|
||||
tryAgain: action('tryAgain'),
|
||||
};
|
||||
|
||||
export const _TooManyDevices = (): JSX.Element => (
|
||||
export const _TooManyDevices = (): React.JSX.Element => (
|
||||
<InstallScreenErrorStep
|
||||
{...defaultProps}
|
||||
error={InstallScreenError.TooManyDevices}
|
||||
/>
|
||||
);
|
||||
|
||||
export const _TooOld = (): JSX.Element => (
|
||||
export const _TooOld = (): React.JSX.Element => (
|
||||
<InstallScreenErrorStep {...defaultProps} error={InstallScreenError.TooOld} />
|
||||
);
|
||||
|
||||
export const __TooOld = (): JSX.Element => (
|
||||
export const __TooOld = (): React.JSX.Element => (
|
||||
<InstallScreenErrorStep {...defaultProps} error={InstallScreenError.TooOld} />
|
||||
);
|
||||
|
||||
export const _ConnectionFailed = (): JSX.Element => (
|
||||
export const _ConnectionFailed = (): React.JSX.Element => (
|
||||
<InstallScreenErrorStep
|
||||
{...defaultProps}
|
||||
error={InstallScreenError.ConnectionFailed}
|
||||
|
||||
Reference in New Issue
Block a user