mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 08:27:22 +00:00
fix: correct dependency arra
This commit is contained in:
+6
-1
@@ -288,7 +288,12 @@ export const SecretListView = ({
|
|||||||
text: "Failed to delete secret"
|
text: "Failed to delete secret"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, [(popUp.deleteSecret?.data as SecretV3RawSanitized)?.key, environment, secretPath]);
|
}, [
|
||||||
|
(popUp.deleteSecret?.data as SecretV3RawSanitized)?.key,
|
||||||
|
environment,
|
||||||
|
secretPath,
|
||||||
|
isProtectedBranch
|
||||||
|
]);
|
||||||
|
|
||||||
// for optimization on minimise re-rendering of secret items
|
// for optimization on minimise re-rendering of secret items
|
||||||
const onCreateTag = useCallback(() => handlePopUpOpen("createTag"), []);
|
const onCreateTag = useCallback(() => handlePopUpOpen("createTag"), []);
|
||||||
|
|||||||
Reference in New Issue
Block a user