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
parent 8e43d2a994
commit ad50cff184

View File

@@ -15,7 +15,10 @@ export const SecretSharingSection = () => {
setIsLoading(true);
try {
if (!currentWorkspace?.id) return;
if (!currentWorkspace?.id) {
setIsLoading(false);
return;
}
await updateProject({
projectID: currentWorkspace.id,