import React from 'react' import PropTypes from 'prop-types' import { compose, pure, setDisplayName, setPropTypes } from 'recompose' const format = t => `${pad(t.getUTCHours())}:${pad(t.getUTCMinutes())}:${pad(t.getUTCSeconds())}` const pad = n => n < 10 ? `0${n}` : n const Clock = ({ lastUpdate, light }) =>