From f32c8760d15bf4713b3f9af1384219a44322febd Mon Sep 17 00:00:00 2001 From: xXJsonDeruloXx Date: Tue, 21 Oct 2025 21:45:14 -0400 Subject: rm old comments --- src/hooks/useLsfgHooks.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/hooks') diff --git a/src/hooks/useLsfgHooks.ts b/src/hooks/useLsfgHooks.ts index e5dea63..adc18ba 100644 --- a/src/hooks/useLsfgHooks.ts +++ b/src/hooks/useLsfgHooks.ts @@ -71,7 +71,6 @@ export function useDllDetection() { } export function useLsfgConfig() { - // Use centralized configuration for initial state const [config, setConfig] = useState(() => ConfigurationManager.getDefaults()); const loadLsfgConfig = useCallback(async () => { @@ -114,7 +113,7 @@ export function useLsfgConfig() { useEffect(() => { loadLsfgConfig(); - }, []); // Empty dependency array to prevent infinite loop + }, []); return { config, -- cgit v1.2.3 From 805f714439e30122df20313f901e660c9a892dbb Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Tue, 21 Oct 2025 23:41:10 -0400 Subject: fix: profile update config ref fix and simplify ui feedback message --- src/hooks/useInstallationActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hooks') diff --git a/src/hooks/useInstallationActions.ts b/src/hooks/useInstallationActions.ts index 18de6b5..f184145 100644 --- a/src/hooks/useInstallationActions.ts +++ b/src/hooks/useInstallationActions.ts @@ -23,7 +23,7 @@ export function useInstallationActions() { const result = await installLsfgVk(); if (result.success) { setIsInstalled(true); - setInstallationStatus("lsfg-vk installed successfully!"); + setInstallationStatus("lsfg-vk installed"); showInstallSuccessToast(); // Reload lsfg config after installation -- cgit v1.2.3