fix: Restart logic in useFolderTrust hook (#8038)

This commit is contained in:
shrutip90
2025-09-08 14:43:49 -07:00
committed by GitHub
parent c8dfab9ec6
commit 097b5c734f
3 changed files with 32 additions and 26 deletions
+1 -1
View File
@@ -668,7 +668,7 @@ Logging in with Google... Please restart Gemini CLI to continue.
const [showIdeRestartPrompt, setShowIdeRestartPrompt] = useState(false);
const { isFolderTrustDialogOpen, handleFolderTrustSelect, isRestarting } =
useFolderTrust(settings, config, setIsTrustedFolder, refreshStatic);
useFolderTrust(settings, setIsTrustedFolder, refreshStatic);
const { needsRestart: ideNeedsRestart } = useIdeTrustListener();
const isInitialMount = useRef(true);