diff --git a/src/components/App.tsx b/src/components/App.tsx
index 7318706..a7e69ba 100644
--- a/src/components/App.tsx
+++ b/src/components/App.tsx
@@ -12,9 +12,9 @@ class App extends React.Component {
render(): JSX.Element {
return
;
}
diff --git a/src/components/Clock.tsx b/src/components/Clock.tsx
index c5c9aa9..26a436a 100644
--- a/src/components/Clock.tsx
+++ b/src/components/Clock.tsx
@@ -45,12 +45,12 @@ class Clock extends React.Component<{}, State> {
}
startTimer() {
- this.interval = setInterval(()=>{
+ this.interval = setInterval(() => {
this.updateTime();
// This will change only if the tab stays open after midnight. But still, lets cover that
this.updateDate();
- },1000);
+ }, 1000);
}
componentDidMount() {
@@ -59,7 +59,7 @@ class Clock extends React.Component<{}, State> {
this.startTimer();
}
- componentWillUnmount(){
+ componentWillUnmount() {
clearInterval(this.interval);
}