Merge pull request #1517 from lbryio/nav-fix

set default route back to /discover
This commit is contained in:
Sean Yesmunt 2018-05-25 10:45:58 -04:00 committed by GitHub
commit 2bf4ac87df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ import * as ACTIONS from 'constants/action_types';
const getCurrentPath = () => { const getCurrentPath = () => {
const { hash } = document.location; const { hash } = document.location;
if (hash !== '') return hash.replace(/^#/, ''); if (hash !== '') return hash.replace(/^#/, '');
return '/publish'; return '/discover';
}; };
const reducers = {}; const reducers = {};