mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-30 05:10:53 +01:00
Prepare for upgrade to React 19
Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
@@ -21,7 +21,7 @@ function VotedCheckmark({
|
||||
}: {
|
||||
isIncoming: boolean;
|
||||
i18n: LocalizerType;
|
||||
}): JSX.Element {
|
||||
}): React.JSX.Element {
|
||||
return (
|
||||
<div
|
||||
className={tw(
|
||||
@@ -163,7 +163,7 @@ export function PollMessageContents({
|
||||
sendPollVote,
|
||||
endPoll,
|
||||
canEndPoll,
|
||||
}: PollMessageContentsProps): JSX.Element {
|
||||
}: PollMessageContentsProps): React.JSX.Element {
|
||||
const [showVotesModal, setShowVotesModal] = useState(false);
|
||||
const [isPending, setIsPending] = useState(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user