refactor: cleanup

This commit is contained in:
David Ralph
2021-03-23 13:10:34 +00:00
parent b4e1d00633
commit b773f256a4
33 changed files with 110 additions and 336 deletions

View File

@@ -9,8 +9,8 @@ import Favourite from './background/Favourite';
import Date from './time/Date';
export default class Widgets extends React.PureComponent {
constructor(...args) {
super(...args);
constructor() {
super();
// widgets we can re-order
this.widgets = {
time: this.enabled('time') ? <Clock/> : null,