(props)
| 7 | |
| 8 | class Clock extends Component { |
| 9 | constructor (props) { |
| 10 | super(props); |
| 11 | this.state = { |
| 12 | current: props.current, |
| 13 | stage: props.stage || 'clock', |
| 14 | active: props.active, |
| 15 | am: props.current.getHours() < 12 |
| 16 | }; |
| 17 | this.close = this.close.bind(this); |
| 18 | } |
| 19 | |
| 20 | componentWillReceiveProps (nextProps) { |
| 21 | if (nextProps.current !== this.props.current) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…