Merge pull request #115 from ipodishima/fix/build

Fix latest build issues from master
This commit is contained in:
Leon van Zyl
2026-01-29 09:22:19 +02:00
committed by GitHub
8 changed files with 29 additions and 13 deletions

View File

@@ -168,7 +168,7 @@ export function ConversationHistory({
<Button
variant="ghost"
size="icon"
onClick={(e) => handleDeleteClick(e, conversation)}
onClick={(e: React.MouseEvent) => handleDeleteClick(e, conversation)}
className={`h-8 w-8 mr-2 ${
isCurrent
? 'opacity-60 hover:opacity-100'

View File

@@ -349,7 +349,7 @@ export function DebugLogViewer({
<Button
variant={activeTab === 'agent' ? 'secondary' : 'ghost'}
size="sm"
onClick={(e) => {
onClick={(e: React.MouseEvent) => {
e.stopPropagation()
setActiveTab('agent')
}}
@@ -366,7 +366,7 @@ export function DebugLogViewer({
<Button
variant={activeTab === 'devserver' ? 'secondary' : 'ghost'}
size="sm"
onClick={(e) => {
onClick={(e: React.MouseEvent) => {
e.stopPropagation()
setActiveTab('devserver')
}}
@@ -383,7 +383,7 @@ export function DebugLogViewer({
<Button
variant={activeTab === 'terminal' ? 'secondary' : 'ghost'}
size="sm"
onClick={(e) => {
onClick={(e: React.MouseEvent) => {
e.stopPropagation()
setActiveTab('terminal')
}}
@@ -421,7 +421,7 @@ export function DebugLogViewer({
<Button
variant="ghost"
size="icon"
onClick={(e) => {
onClick={(e: React.MouseEvent) => {
e.stopPropagation()
handleClear()
}}

View File

@@ -120,7 +120,7 @@ export function ProjectSelector({
<Button
variant="ghost"
size="icon-xs"
onClick={(e) => handleDeleteClick(e, project.name)}
onClick={(e: React.MouseEvent) => handleDeleteClick(e, project.name)}
className="text-muted-foreground hover:text-destructive"
>
<Trash2 size={14} />

View File

@@ -335,7 +335,7 @@ export function ScheduleModal({ projectName, isOpen, onClose }: ScheduleModalPro
<Checkbox
id="yolo-mode"
checked={newSchedule.yolo_mode}
onCheckedChange={(checked) =>
onCheckedChange={(checked: boolean | 'indeterminate') =>
setNewSchedule((prev) => ({ ...prev, yolo_mode: checked === true }))
}
/>

View File

@@ -13,7 +13,7 @@ export function ThemeSelector({ themes, currentTheme, onThemeChange }: ThemeSele
const [isOpen, setIsOpen] = useState(false)
const [previewTheme, setPreviewTheme] = useState<ThemeId | null>(null)
const containerRef = useRef<HTMLDivElement>(null)
const timeoutRef = useRef<NodeJS.Timeout | null>(null)
const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null)
// Close dropdown when clicking outside
useEffect(() => {