mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-04-17 18:46:29 -05:00
Add Stats button to HackOptionsMenu
This commit is contained in:
parent
d91a25eae8
commit
39bda37d11
|
|
@ -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`}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user