Skip to content

Commit

Permalink
💄 style: hide settings in repo (lobehub#3540)
Browse files Browse the repository at this point in the history
* hide settings in repo

* fix drag

* Update useDragUpload.tsx

* Update package.json
  • Loading branch information
arvinxx authored Aug 22, 2024
1 parent 26e0e34 commit 86c1165
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"mammoth": "^1.8.0",
"modern-screenshot": "^4.4.39",
"nanoid": "^5.0.7",
"next": "^14.2.4",
"next": "14.2.5",
"next-auth": "5.0.0-beta.15",
"next-sitemap": "^4.2.3",
"numeral": "^2.0.6",
Expand Down
12 changes: 6 additions & 6 deletions src/app/(main)/repos/[id]/@menu/Menu/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import { Icon } from '@lobehub/ui';
import { FileText, Settings2Icon } from 'lucide-react';
import { FileText } from 'lucide-react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { memo, useMemo, useState } from 'react';
Expand Down Expand Up @@ -29,11 +29,11 @@ const FileMenu = memo<{ id: string }>(({ id }) => {
// key: `/repos/${id}/testing`,
// label: <Link href={`/repos/${id}/testing`}>{t('tab.testing')}</Link>,
// },
{
icon: <Icon icon={Settings2Icon} />,
key: `/repos/${id}/settings`,
label: <Link href={`/repos/${id}/settings`}>{t('tab.settings')}</Link>,
},
// {
// icon: <Icon icon={Settings2Icon} />,
// key: `/repos/${id}/settings`,
// label: <Link href={`/repos/${id}/settings`}>{t('tab.settings')}</Link>,
// },
],
[t],
);
Expand Down

0 comments on commit 86c1165

Please sign in to comment.