mirror of
https://github.com/tooot-app/app
synced 2025-02-03 20:07:52 +01:00
Fix poll 5 minutes un-selectable
This commit is contained in:
parent
902d4e6c3a
commit
829a25b76b
@ -216,7 +216,7 @@ const ComposePoll: React.FC = () => {
|
||||
userInterfaceStyle: mode
|
||||
},
|
||||
index => {
|
||||
if (index && index < expirations.length) {
|
||||
if (index !== undefined && index < expirations.length) {
|
||||
analytics('compose_poll_expiration_press', {
|
||||
current: expire,
|
||||
new: expirations[index]
|
||||
|
Loading…
x
Reference in New Issue
Block a user