feat: add suspense loading state to recover password page

This commit is contained in:
2026-04-01 13:51:25 -06:00
parent d0f4a88661
commit b8454f750d
+4 -2
View File
@@ -4,7 +4,7 @@ import { css, cx } from '@/styled-system/css'
import { Center } from '@/styled-system/jsx' import { Center } from '@/styled-system/jsx'
import { container } from '@/styled-system/patterns' import { container } from '@/styled-system/patterns'
import { card } from '@/styled-system/recipes' import { card } from '@/styled-system/recipes'
import { type FC } from 'react' import { Suspense, type FC } from 'react'
const page: FC = () => { const page: FC = () => {
return ( return (
@@ -35,7 +35,9 @@ const page: FC = () => {
<div <div
className={card().content} className={card().content}
> >
<ManageRecoverPassword /> <Suspense fallback={<Typography variant="body1">Cargando...</Typography>}>
<ManageRecoverPassword />
</Suspense>
</div> </div>
</div> </div>
</Center> </Center>