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> </button>
</div> </div>
{Boolean(flow.methods.password.config.messages?.length) && {Boolean(flow.methods.link.config.messages?.length) &&
flow.methods.password.config.messages.map((message) => ( flow.methods.link.config.messages.map((message) => <Message type={message.type} title={message.text} />)}
<Message type={message.type} title={message.text} />
))}
</form> </form>
</div> </div>
</div> </div>