Merge pull request #1946 from lbryio/default-path

set default path back to discover
This commit is contained in:
Sean Yesmunt 2018-09-08 12:45:17 -04:00 committed by GitHub
commit bd046a48b6
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 '/user_history'; return '/discover';
}; };
const reducers = {}; const reducers = {};