fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
import { Link, usePage } from '@inertiajs/react';
|
||||
|
||||
export default function ContentManagementEntry() {
|
||||
const { contentManagementHref } = usePage<{ contentManagementHref?: string | null }>().props;
|
||||
return contentManagementHref ? <Link className="inline-block rounded-lg border px-4 py-3 font-semibold underline" href={contentManagementHref}>Área de trabalho</Link> : null;
|
||||
const { contentManagementHref } = usePage<{
|
||||
contentManagementHref?: string | null;
|
||||
}>().props;
|
||||
return contentManagementHref ? (
|
||||
<Link
|
||||
className="inline-block rounded-lg border px-4 py-3 font-semibold underline"
|
||||
href={contentManagementHref}
|
||||
>
|
||||
Área de trabalho
|
||||
</Link>
|
||||
) : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user