diff --git a/src/__tests__/__snapshots__/Panel.test.js.snap b/src/__tests__/__snapshots__/Panel.test.js.snap index f1b39ba..d3cc7e2 100644 --- a/src/__tests__/__snapshots__/Panel.test.js.snap +++ b/src/__tests__/__snapshots__/Panel.test.js.snap @@ -20,7 +20,7 @@ exports[`renders panel correctly 1`] = `
-
{!this.state.ready ? null : ( <> - +
+ {this.state.isEnabled && this.state.schedule.isEnabled ? ( diff --git a/src/components/Timer/index.jsx b/src/components/Timer/index.jsx index bec9552..534e58e 100644 --- a/src/components/Timer/index.jsx +++ b/src/components/Timer/index.jsx @@ -112,9 +112,9 @@ export class Timer extends Component { render() { return ( - {/*
*/} {!this.state.ready ? null : ( <> + {/*
*/}