mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-04 15:15:19 +01:00
Prepare for upgrade to React 19
Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
@@ -25,7 +25,7 @@ const createProps = (overrideProps: Partial<Props> = {}): Props => ({
|
||||
theme: ThemeType.light,
|
||||
});
|
||||
|
||||
export function AllReactions(): JSX.Element {
|
||||
export function AllReactions(): React.JSX.Element {
|
||||
const props = createProps({
|
||||
reactions: [
|
||||
{
|
||||
@@ -125,7 +125,7 @@ export function AllReactions(): JSX.Element {
|
||||
return <ReactionViewer {...props} />;
|
||||
}
|
||||
|
||||
export function PickedReaction(): JSX.Element {
|
||||
export function PickedReaction(): React.JSX.Element {
|
||||
const props = createProps({
|
||||
pickedReaction: '❤️',
|
||||
reactions: [
|
||||
@@ -154,7 +154,7 @@ export function PickedReaction(): JSX.Element {
|
||||
return <ReactionViewer {...props} />;
|
||||
}
|
||||
|
||||
export function PickedMissingReaction(): JSX.Element {
|
||||
export function PickedMissingReaction(): React.JSX.Element {
|
||||
const props = createProps({
|
||||
pickedReaction: '😡',
|
||||
reactions: [
|
||||
@@ -207,7 +207,7 @@ const createReaction = (
|
||||
timestamp,
|
||||
});
|
||||
|
||||
export function ReactionSkinTones(): JSX.Element {
|
||||
export function ReactionSkinTones(): React.JSX.Element {
|
||||
const props = createProps({
|
||||
pickedReaction: '😡',
|
||||
reactions: [
|
||||
|
||||
Reference in New Issue
Block a user