sceyt-chat-react-uikit 1.8.7-beta.16 → 1.8.7-beta.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -39789,9 +39789,7 @@ var AllVotesPopup = function AllVotesPopup(_ref) {
39789
39789
  isScrolling = _useState[0],
39790
39790
  setIsScrolling = _useState[1];
39791
39791
  React.useEffect(function () {
39792
- if (allVotes.length === 0 && totalVotes > 0 && !isLoading) {
39793
- dispatch(getPollVotesAC(messageId, poll.id, optionId, POLL_VOTES_LIMIT));
39794
- }
39792
+ dispatch(getPollVotesAC(messageId, poll.id, optionId, POLL_VOTES_LIMIT));
39795
39793
  }, []);
39796
39794
  React.useEffect(function () {
39797
39795
  if (allVotes.length > 0 && hasMore && !isLoading && allVotes.length < POLL_VOTES_LIMIT - 1) {
package/index.modern.js CHANGED
@@ -39788,9 +39788,7 @@ var AllVotesPopup = function AllVotesPopup(_ref) {
39788
39788
  isScrolling = _useState[0],
39789
39789
  setIsScrolling = _useState[1];
39790
39790
  useEffect(function () {
39791
- if (allVotes.length === 0 && totalVotes > 0 && !isLoading) {
39792
- dispatch(getPollVotesAC(messageId, poll.id, optionId, POLL_VOTES_LIMIT));
39793
- }
39791
+ dispatch(getPollVotesAC(messageId, poll.id, optionId, POLL_VOTES_LIMIT));
39794
39792
  }, []);
39795
39793
  useEffect(function () {
39796
39794
  if (allVotes.length > 0 && hasMore && !isLoading && allVotes.length < POLL_VOTES_LIMIT - 1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.8.7-beta.16",
3
+ "version": "1.8.7-beta.17",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",