This commit is contained in:
Karol Wypchlo 2021-02-09 15:02:01 +01:00
parent 80305dcb31
commit e646a9cd3a
1 changed files with 2 additions and 4 deletions

View File

@ -120,10 +120,8 @@ export default function Recovery({ flow }) {
</button>
</div>
{Boolean(flow.methods.password.config.messages?.length) &&
flow.methods.password.config.messages.map((message) => (
<Message type={message.type} title={message.text} />
))}
{Boolean(flow.methods.link.config.messages?.length) &&
flow.methods.link.config.messages.map((message) => <Message type={message.type} title={message.text} />)}
</form>
</div>
</div>