fix : why the fuck admin pag ehere
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user