Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenxinxing committed May 12, 2023
1 parent cdfebd7 commit 92de039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/src/domain/job/components/JobForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function JobForm({ job, onSubmit }: IJobFormProps) {
if (!modelVersion) return
setBuiltInRuntime(modelVersion?.builtInRuntime ?? '')
setType(modelVersion?.builtInRuntime ? RuntimeType.BUILTIN : RuntimeType.OTHER)
}, [modelVersion, form])
}, [modelVersion])

const fullStepSource: StepSpec[] | undefined = React.useMemo(() => {
if (!modelVersion) return undefined
Expand Down

0 comments on commit 92de039

Please sign in to comment.