From d0ae50a108dc8745aae07bbc3ce9e97a449024da Mon Sep 17 00:00:00 2001 From: Louis Knight-Webb Date: Tue, 15 Jul 2025 20:31:35 +0100 Subject: [PATCH] Fix github upgrade case --- frontend/src/App.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 57d63678..2650b3de 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -107,14 +107,13 @@ function AppContent() { setShowGitHubLogin(false); // If user skipped (no GitHub token), we need to manually set the acknowledgment - if (!latestConfig.github?.token) { - const updatedConfig = { - ...latestConfig, - github_login_acknowledged: true, - }; - updateConfig(updatedConfig); - await configApi.saveConfig(updatedConfig); - } + + const updatedConfig = { + ...latestConfig, + github_login_acknowledged: true, + }; + updateConfig(updatedConfig); + await configApi.saveConfig(updatedConfig); } catch (err) { console.error('Error refreshing config:', err); } finally {