This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Use glitch-soc's poll component instead of upstream's
closed-social-glitch-2
Thibaut Girka
5 years ago
committed by
ThibG
parent
0998e3ade8
commit
2cd7bfac23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/flavours/glitch/containers/poll_container.js
+ 1
- 1
app/javascript/flavours/glitch/containers/poll_container.js
View File
@ -1,5 +1,5 @@
import
{
connect
}
from
'react-redux'
;
import
Poll
from
'
mastodon
/components/poll'
;
import
Poll
from
'
flavours/glitch
/components/poll'
;
const
mapStateToProps
=
(
state
,
{
pollId
}
)
=>
(
{
poll
:
state
.
getIn
(
[
'polls'
,
pollId
]
)
,
Write
Preview
Loading…
Cancel
Save