mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 04:11:50 +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';
|
||||
|
||||
// Constants
|
||||
import ROUTES from '../../../constants/routeNames';
|
||||
import FILTER_OPTIONS, { VALUE } from '../../../constants/options/leaderboard';
|
||||
|
||||
// Component
|
||||
import LeaderboardView from '../view/leaderboardView';
|
||||
@ -50,6 +50,7 @@ class LeaderboardContainer extends PureComponent {
|
||||
|
||||
if (index === undefined) {
|
||||
index = selectedIndex;
|
||||
selectedFilter = FILTER_OPTIONS[selectedIndex];
|
||||
}
|
||||
let users;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user