update dashboard data and design and change req from ssr to csr & change design and data doctor and clinic item
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
function Content({ isConfirmed, children, title }) {
|
||||
function Content({ isConfirmed, children, title, error }) {
|
||||
console.log(error);
|
||||
|
||||
return (
|
||||
<div className="flex w-full flex-col items-start justify-start gap-[8px] sm:gap-[3px] md:gap-[7px] lg:gap-[9px]">
|
||||
<div className="flex min-h-[32px] items-center justify-start gap-[8px] md:gap-[6px] lg:gap-[4px]">
|
||||
@@ -12,7 +14,10 @@ function Content({ isConfirmed, children, title }) {
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
{children}
|
||||
<div className="flex flex-col w-full items-start justify-start gap-1">
|
||||
{children}
|
||||
<p className="text-red-600 text-[12px]">{error || ""}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user