Skip to content

Commit 094e58a

Browse files
committed
refactor: remove unlock icon and private repo label
1 parent 0cf6216 commit 094e58a

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/app/generator/repo-tree-generator.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ import {
3737
Minimize,
3838
Search,
3939
Settings,
40-
Unlock,
4140
} from "lucide-react"
4241
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter"
4342
import { atomDark } from "react-syntax-highlighter/dist/esm/styles/prism"
@@ -314,12 +313,6 @@ export default function RepoProjectStructure() {
314313
{repoType === "github" && (
315314
<div className="flex items-center gap-2">
316315
<PrivateReposDialog />
317-
{hasPrivateToken && (
318-
<div className="flex items-center gap-1 text-xs text-green-600 bg-green-50 dark:bg-green-900/20 px-2 py-1 rounded">
319-
<Unlock className="h-3 w-3" />
320-
Private repos enabled
321-
</div>
322-
)}
323316
</div>
324317
)}
325318
<div className="relative flex-grow">

src/components/private-repos-dialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function PrivateReposDialog() {
4646
{hasToken ? (
4747
<>
4848
<Unlock className="h-4 w-4 text-green-600" />
49-
Private Repos
49+
Private Repos enabled
5050
</>
5151
) : (
5252
<>
@@ -56,7 +56,7 @@ export default function PrivateReposDialog() {
5656
)}
5757
</Button>
5858
</DialogTrigger>
59-
<DialogContent className="sm:max-w-[500px]">
59+
<DialogContent className="sm:max-w-[600px]">
6060
<DialogHeader>
6161
<DialogTitle>Enter GitHub Personal Access Token</DialogTitle>
6262
</DialogHeader>

0 commit comments

Comments
 (0)