fix api url
This commit is contained in:
parent
6c056febbe
commit
203d12b287
|
@ -127,7 +127,7 @@ export default function Login({ flow }) {
|
|||
|
||||
{Boolean(field.messages?.length) && (
|
||||
<div className="mt-2">
|
||||
<Message items={field.messages.map(({ context }) => context.text)} />
|
||||
<Message items={field.messages.map(({ text }) => text)} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
@ -134,7 +134,7 @@ export default function Registration({ flow }) {
|
|||
/>
|
||||
{Boolean(field.messages?.length) && (
|
||||
<div className="mt-2">
|
||||
<Message items={field.messages.map(({ context }) => context.text)} />
|
||||
<Message items={field.messages.map(({ text }) => text)} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
Reference in New Issue