Skip to content

Commit 3c6ee01

Browse files
committed
improvement(reskin-profile): challenge list in modal dup
1 parent b28e9ac commit 3c6ee01

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/shared/containers/ProfileStats.jsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@ class ProfileStatsContainer extends React.Component {
5656

5757
if (nextHandleParam !== handleParam) {
5858
loadStats(nextHandleParam, _.join(loadPublicStatsOnly(meta) ? undefined : _.get(meta, 'groupIds', [])), auth.tokenV3);
59-
if (
60-
nextTrack !== track
61-
|| nextSubTrack !== subTrack
62-
) {
63-
if (shouldShowGraph({ track: nextTrack, subTrack: nextSubTrack })
64-
&& !nextTab) {
65-
loadStatsHistoryAndDistribution(
66-
nextHandleParam,
67-
_.join(loadPublicStatsOnly(meta) ? undefined : _.get(meta, 'groupIds', [])),
68-
nextTrack,
69-
nextSubTrack,
70-
auth.tokenV3,
71-
);
72-
}
59+
}
60+
if (
61+
nextTrack !== track
62+
|| nextSubTrack !== subTrack
63+
) {
64+
if (shouldShowGraph({ track: nextTrack, subTrack: nextSubTrack })
65+
&& !nextTab) {
66+
loadStatsHistoryAndDistribution(
67+
nextHandleParam,
68+
_.join(loadPublicStatsOnly(meta) ? undefined : _.get(meta, 'groupIds', [])),
69+
nextTrack,
70+
nextSubTrack,
71+
auth.tokenV3,
72+
);
7373
}
7474
}
7575
}

0 commit comments

Comments
 (0)