diff --git a/packages/anastasis-core/src/index.ts b/packages/anastasis-core/src/index.ts index 4323df9c2..786d8b76a 100644 --- a/packages/anastasis-core/src/index.ts +++ b/packages/anastasis-core/src/index.ts @@ -1194,7 +1194,7 @@ const backupTransitions: Record< ...transition("delete_policy", codecForAny(), deletePolicy), }, [BackupStates.SecretEditing]: { - ...transitionBackupJump("back", BackupStates.PoliciesPaying), + ...transitionBackupJump("back", BackupStates.PoliciesReviewing), ...transition("next", codecForAny(), uploadSecret), ...transition("enter_secret", codecForAny(), enterSecret), ...transition( diff --git a/packages/anastasis-core/src/reducer-types.ts b/packages/anastasis-core/src/reducer-types.ts index b415bdfc4..948268704 100644 --- a/packages/anastasis-core/src/reducer-types.ts +++ b/packages/anastasis-core/src/reducer-types.ts @@ -6,7 +6,6 @@ import { codecForNumber, codecForString, codecForTimestamp, - Duration, Timestamp, } from "@gnu-taler/taler-util"; import { KeyShare } from "./crypto.js";