diff --git a/webview-ui/src/features/suiEnv/index.tsx b/webview-ui/src/features/suiEnv/index.tsx index e104427..3591684 100644 --- a/webview-ui/src/features/suiEnv/index.tsx +++ b/webview-ui/src/features/suiEnv/index.tsx @@ -65,7 +65,7 @@ export const SuiEnv = () => { setIsLoading(false); } getUserNetworks(); - }, []); + }, [suiPath]); useEffect(() => { // fileInputRef?.current?.setAttribute("directory", "");