fix(LOY-39): fix redeem back button to actually go back to initial step

This commit is contained in:
Christian Andolf
2025-01-27 16:43:35 +01:00
parent 5b0b82da80
commit 091b851d41

View File

@@ -82,7 +82,11 @@ export default function Tier({
>
{intl.formatMessage({ id: "Yes, redeem" })}
</Button>
<Button onClick={close} intent="secondary" theme="base">
<Button
onClick={() => setRedeemStep("initial")}
intent="secondary"
theme="base"
>
{intl.formatMessage({ id: "Go back" })}
</Button>
</footer>