From 96b28518ea325ad23fd2b04f73f9461e412b4b81 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 9 Feb 2021 15:04:44 +0100 Subject: [PATCH] recovery --- packages/dashboard/src/pages/recovery.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/dashboard/src/pages/recovery.js b/packages/dashboard/src/pages/recovery.js index 50115e59..87d53a98 100644 --- a/packages/dashboard/src/pages/recovery.js +++ b/packages/dashboard/src/pages/recovery.js @@ -120,8 +120,9 @@ export default function Recovery({ flow }) { - {Boolean(flow.methods.link.config.messages?.length) && - flow.methods.link.config.messages.map((message) => )} + {(flow?.messages ?? []).map((message) => ( + + ))}