diff --git a/desktop/flipper-server/src/index.tsx b/desktop/flipper-server/src/index.tsx index 9eb175aba..e2d093d02 100644 --- a/desktop/flipper-server/src/index.tsx +++ b/desktop/flipper-server/src/index.tsx @@ -302,15 +302,11 @@ async function start() { } async function launch() { - let token: string | undefined; - if (await hasAuthToken()) { - token = await getAuthToken(); - } + const token = await getAuthToken(); const searchParams = new URLSearchParams({token: token ?? ''}); const url = new URL(`http://localhost:${argv.port}?${searchParams}`); - console.log('Go to: ' + chalk.green(chalk.bold(url))); if (!argv.open) { return; }