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

@@ -5,8 +5,8 @@ import Analog from 'react-clock';
import './clock.scss';
export default class Clock extends React.PureComponent {
constructor(...args) {
super(...args);
constructor() {
super();
this.timer = undefined;
this.state = {

View File

@@ -3,8 +3,8 @@ import React from 'react';
import dtf from '@eartharoid/dtf';
export default class DateWidget extends React.PureComponent {
constructor(...args) {
super(...args);
constructor() {
super();
this.state = {
date: ''
};