Simplify Load button and remove skill error toast

This commit is contained in:
Chris Scott committed 2026-05-01 18:26:55 -04:00
1 parent 3aee66b333
commit 07b0e1548b
2 files changed
+8 -13

No files matched your search

@@ -1,5 +1,4 @@
import { AlertCircle, Loader2, Sparkles } from 'lucide-react'
import { Button } from '@/components/ui/button'
import { AlertCircle, Loader2 } from 'lucide-react'
import type { SkillFileInfo } from '@opencode-manager/shared'
interface RepoSkillsListProps {
@@ -74,15 +73,13 @@ export function RepoSkillsList({
)}
</div>
{onLoad && (
<Button
variant="ghost"
size="sm"
<button
type="button"
onClick={() => onLoad(skill)}
className="shrink-0"
className="shrink-0 text-xs font-medium text-primary hover:text-foreground transition-colors"
>
<Sparkles className="w-4 h-4" />
<span>Load</span>
</Button>
Load
</button>
)}
</div>
))}