feat: consolidar desenvolvimentos do portal InvestMoz
This commit is contained in:
@@ -54,7 +54,7 @@ export function Management({
|
||||
const { flash, educationEnabled, aiEnabled, auth, basePath } = usePage<{
|
||||
auth?: { canManagePortal?: boolean };
|
||||
basePath?: string;
|
||||
flash?: { success?: string };
|
||||
flash?: { success?: string; warning?: string };
|
||||
educationEnabled?: boolean;
|
||||
aiEnabled?: boolean;
|
||||
}>().props;
|
||||
@@ -126,6 +126,14 @@ export function Management({
|
||||
{flash.success}
|
||||
</p>
|
||||
)}
|
||||
{flash?.warning && (
|
||||
<p
|
||||
role="alert"
|
||||
className="rounded-md border border-amber-500 p-3"
|
||||
>
|
||||
{flash.warning}
|
||||
</p>
|
||||
)}
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user