mirror of
https://github.com/sussy-code/smov.git
synced 2026-05-13 05:10:38 +00:00
add dev shortcut to local dropdown
This commit is contained in:
parent
b0b0f038ab
commit
3584abac59
1 changed files with 5 additions and 0 deletions
|
|
@ -143,6 +143,11 @@ export function LinksDropdown(props: { children: React.ReactNode }) {
|
||||||
<DropdownLink href="/settings" icon={Icons.SETTINGS}>
|
<DropdownLink href="/settings" icon={Icons.SETTINGS}>
|
||||||
{t("navigation.menu.settings")}
|
{t("navigation.menu.settings")}
|
||||||
</DropdownLink>
|
</DropdownLink>
|
||||||
|
{process.env.NODE_ENV === "development" ? (
|
||||||
|
<DropdownLink href="/dev" icon={Icons.COMPRESS}>
|
||||||
|
Development
|
||||||
|
</DropdownLink>
|
||||||
|
) : null}
|
||||||
<DropdownLink href="/about" icon={Icons.CIRCLE_QUESTION}>
|
<DropdownLink href="/about" icon={Icons.CIRCLE_QUESTION}>
|
||||||
{t("navigation.menu.about")}
|
{t("navigation.menu.about")}
|
||||||
</DropdownLink>
|
</DropdownLink>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue