-
-
+
+
+ onEditAccount={handleEditAccount}
+ onFetchData={handleFetchData} />
@@ -142,7 +151,7 @@ function AccountsChart({
confirmButtonText="Move to Trash"
icon="trash"
intent={Intent.DANGER}
- isOpen={state.deleteAlertActive}
+ isOpen={deleteAccount}
onCancel={handleCancelAccountDelete}
onConfirm={handleConfirmAccountDelete}>
@@ -156,7 +165,7 @@ function AccountsChart({
confirmButtonText="Inactivate"
icon="trash"
intent={Intent.WARNING}
- isOpen={state.inactiveAlertActive}
+ isOpen={inactiveAccount}
onCancel={handleCancelInactiveAccount}
onConfirm={handleConfirmAccountActive}>
@@ -164,20 +173,6 @@ function AccountsChart({
but it will become private to you.
-
-
-
- Are you sure you want to move filename to Trash? You will be able to restore it later,
- but it will become private to you.
-
-