mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-30 09:07:28 +03:00
fixed leaderboard refresh issue
This commit is contained in:
parent
c8d6ecd5b3
commit
95df3848a5
@ -8,7 +8,7 @@ import { connect } from 'react-redux';
|
|||||||
import { getLeaderboard } from '../../../providers/ecency/ecency';
|
import { getLeaderboard } from '../../../providers/ecency/ecency';
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
import ROUTES from '../../../constants/routeNames';
|
import FILTER_OPTIONS, { VALUE } from '../../../constants/options/leaderboard';
|
||||||
|
|
||||||
// Component
|
// Component
|
||||||
import LeaderboardView from '../view/leaderboardView';
|
import LeaderboardView from '../view/leaderboardView';
|
||||||
@ -50,6 +50,7 @@ class LeaderboardContainer extends PureComponent {
|
|||||||
|
|
||||||
if (index === undefined) {
|
if (index === undefined) {
|
||||||
index = selectedIndex;
|
index = selectedIndex;
|
||||||
|
selectedFilter = FILTER_OPTIONS[selectedIndex];
|
||||||
}
|
}
|
||||||
let users;
|
let users;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user