Update frontend/src/pages/secret-manager/SettingsPage/components/SecretSharingSection/SecretSharingSection.tsx

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
x032205
2025-05-16 00:21:30 -04:00
committed by GitHub
co-authored by greptile-apps[bot]
parent 8e43d2a994
commit ad50cff184
@@ -15,7 +15,10 @@ export const SecretSharingSection = () => {
setIsLoading(true); setIsLoading(true);
try { try {
if (!currentWorkspace?.id) return; if (!currentWorkspace?.id) {
setIsLoading(false);
return;
}
await updateProject({ await updateProject({
projectID: currentWorkspace.id, projectID: currentWorkspace.id,