Skip to content

Commit b9f3641

Browse files
committed
topcoder-platform#101 add time interval after click thrid tab for network is slow
1 parent 67a924a commit b9f3641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TopNav/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const initMenuId = (menu, profileHandle, loggedIn) => {
4545
}))
4646

4747
let cacheMenu = JSON.parse(window.localStorage.getItem('__top_nav_bar_state'))
48-
if (cacheMenu && cacheMenu.date + 8000 > (new Date()).getTime()) {
48+
if (cacheMenu && cacheMenu.date + 16000 > (new Date()).getTime()) {
4949
let menuItem = _.find(menu, (m) => {
5050
return m.id === cacheMenu.id
5151
})

0 commit comments

Comments
 (0)