mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 05:13:04 +03:00
fix default leaderboard duration
This commit is contained in:
parent
a718561ffe
commit
a1872798a5
@ -90,7 +90,7 @@ export const unfollowUserFail = (error, data, failToastText) => {
|
||||
};
|
||||
|
||||
// Fetch Leaderboard
|
||||
export const fetchLeaderboard = (duration) => {
|
||||
export const fetchLeaderboard = (duration = 'day') => {
|
||||
return (dispatch) => {
|
||||
dispatch({ type: FETCH_LEADERBOARD });
|
||||
getLeaderboard(duration)
|
||||
|
Loading…
Reference in New Issue
Block a user