mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 10:58:19 +01:00
Prepare for upgrade to React 19
Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
@@ -40,7 +40,7 @@ export function PollCreateModal({
|
||||
i18n,
|
||||
onClose,
|
||||
onSendPoll,
|
||||
}: PollCreateModalProps): JSX.Element {
|
||||
}: PollCreateModalProps): React.JSX.Element {
|
||||
const [question, setQuestion] = useState('');
|
||||
const [options, setOptions] = useState<Array<PollOption>>([
|
||||
{ id: generateUuid(), value: '' },
|
||||
|
||||
Reference in New Issue
Block a user