Remove unnecessary load of Discover page during startup

We were loading the Discover page at the end of the launch screen.
That meant that if a user started with LBRY closed and started it by
clicking on a lbry:// link, it would load during the launch screen
but then get overridden by the Discover page as soon as the launch
screen finished.

Fortunately, this load was redundant anyway as the necessary state is
already being set in the default state for the App component:
902fb96878/ui/js/reducers/app.js (L5)
This commit is contained in:
Alex Liebowitz 2017-06-19 08:09:04 -04:00
parent ac067b78d1
commit a5968c2c20

View file

@ -225,7 +225,6 @@ export function doDaemonReady() {
dispatch({
type: types.DAEMON_READY,
});
dispatch(doChangePath("/discover"));
dispatch(doFetchDaemonSettings());
dispatch(doFileList());
};