mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-08-22 16:44:33 -05:00
Add Stats button to HackOptionsMenu
This commit is contained in:
@@ -58,6 +58,12 @@ export default function HackOptionsMenu({ slug, canEdit }: HackOptionsMenuProps)
|
||||
</MenuItem>
|
||||
{canEdit && <>
|
||||
<MenuSeparator className="my-1 h-px bg-[var(--border)]" />
|
||||
<MenuItem
|
||||
as="a"
|
||||
href={`/hack/${slug}/stats`}
|
||||
className="block w-full px-3 py-2 text-left text-sm data-focus:bg-black/5 dark:data-focus:bg-white/10">
|
||||
Stats
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
as="a"
|
||||
href={`/hack/${slug}/edit`}
|
||||
|
||||
Reference in New Issue
Block a user