fix : why the fuck admin pag ehere

This commit is contained in:
2026-08-01 01:23:01 +07:00 Unverified
parent 3d7ecbcac5
commit e243a75d33
-10
View File
@@ -108,16 +108,6 @@ export default async function Home() {
</CardHeader>
<LinkCard counts={counts} links1={links1} links2={config_p2.links} />
{isAdmin && (
<div className="px-6 pb-6">
<Button variant="secondary" className="w-full" asChild>
<Link href="/admin">
<ShieldCheck data-icon="inline-start" />
Go to admin
</Link>
</Button>
</div>
)}
</Card>
</main>
);