From a5968c2c20f9ddd1402dda5bfee1d37e97ecce5b Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 19 Jun 2017 08:09:04 -0400 Subject: [PATCH] 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: https://github.com/lbryio/lbry-app/blob/902fb96878c175d480be9ed11207a21bedd61713/ui/js/reducers/app.js#L5 --- ui/js/actions/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/js/actions/app.js b/ui/js/actions/app.js index d82c51606..9657b8756 100644 --- a/ui/js/actions/app.js +++ b/ui/js/actions/app.js @@ -225,7 +225,6 @@ export function doDaemonReady() { dispatch({ type: types.DAEMON_READY, }); - dispatch(doChangePath("/discover")); dispatch(doFetchDaemonSettings()); dispatch(doFileList()); }; -- 2.45.3