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) => (
+
+ ))}