Fix call of onCompleted after all promises are resolved

This commit is contained in:
carlosmonastyrski
2025-03-14 12:26:20 -03:00
parent 4c5f3859d6
commit e39d1a0530
17 changed files with 117 additions and 57 deletions
@@ -866,7 +866,7 @@ export const OverviewPage = () => {
<Button
leftIcon={<FontAwesomeIcon icon={faFingerprint} className="pr-2" />}
onClick={() => {
if (subscription && subscription.dynamicSecret) {
if (subscription?.dynamicSecret) {
handlePopUpOpen("addDynamicSecret");
return;
}