diff --git a/src/app/devices/deviceContent/components/directMethod/__snapshots__/directMethod.spec.tsx.snap b/src/app/devices/deviceContent/components/directMethod/__snapshots__/directMethod.spec.tsx.snap index 535868c9..148adef3 100644 --- a/src/app/devices/deviceContent/components/directMethod/__snapshots__/directMethod.spec.tsx.snap +++ b/src/app/devices/deviceContent/components/directMethod/__snapshots__/directMethod.spec.tsx.snap @@ -68,7 +68,7 @@ exports[`directMethod matches snapshot 1`] = ` max={300} min={0} onChange={[Function]} - value={0} + value={10} /> diff --git a/src/app/devices/deviceContent/components/directMethod/directMethod.tsx b/src/app/devices/deviceContent/components/directMethod/directMethod.tsx index d299d0eb..8be556b1 100644 --- a/src/app/devices/deviceContent/components/directMethod/directMethod.tsx +++ b/src/app/devices/deviceContent/components/directMethod/directMethod.tsx @@ -21,7 +21,7 @@ import { HeaderView } from '../../../../shared/components/headerView'; import '../../../../css/_deviceDetail.scss'; const SLIDER_MAX = 300; - +const DEFAULT_TIMEOUT = 10; export interface DirectMethodState { connectionTimeout: number; methodName: string; @@ -40,10 +40,10 @@ export default class DirectMethod extends React.Component