Prepare for upgrade to React 19

Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
Jamie
2025-12-23 13:42:56 -08:00
committed by GitHub
parent fe94991ea2
commit b405e3d83d
716 changed files with 3129 additions and 2881 deletions

View File

@@ -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);