mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Fix TypeScript errors in schedule components
Fix type mismatches and remove unused prop
This commit is contained in:
1 parent
7c956e9bba
commit
a4c2315192
2 files changed
+1
-3
No files matched your search
@@ -2,13 +2,12 @@ import { useState } from 'react'
|
||||
import { Badge } from '@/components/ui/badge'
|
||||
import { History, Loader2, XCircle, CheckCircle2, Ban, ChevronDown } from 'lucide-react'
|
||||
import type { ScheduleRun } from '@opencode-manager/shared/types'
|
||||
import type { ScheduleRunWithContext } from '@/api/schedules'
|
||||
import { getRunTone } from '@/components/schedules/schedule-utils'
|
||||
import { RunDetailPanel } from '@/components/schedules/RunDetailPanel'
|
||||
import { useRepoScheduleRun } from '@/hooks/useSchedules'
|
||||
|
||||
interface RunHistoryCardsProps {
|
||||
runs: ScheduleRunWithContext[] | undefined
|
||||
runs: ScheduleRun[] | undefined
|
||||
runsLoading: boolean
|
||||
onSelectRun: (id: number) => void
|
||||
onCancelRun: () => void
|
||||
|
||||
@@ -259,7 +259,6 @@ export function Schedules() {
|
||||
selectedJob={selectedJob}
|
||||
runs={runs}
|
||||
runsLoading={runsLoading}
|
||||
selectedRunId={selectedRunId}
|
||||
onSelectRun={setSelectedRunId}
|
||||
activeRun={activeRun}
|
||||
selectedRunLoading={selectedRunLoading}
|
||||
|
||||
Reference in new issue
Block a user