diff --git a/src/components/Clock.jsx b/src/components/Clock.jsx index 0ecf986f..d45e49cb 100644 --- a/src/components/Clock.jsx +++ b/src/components/Clock.jsx @@ -12,7 +12,7 @@ export default class Clock extends React.Component { startTime() { const t = new Date(); // Get the current date - let h = today.getHours(); // Get hours + let h = t.getHours(); // Get hours // const s = today.getSeconds(); if (h > 12) h = h - 12; // Forgot what this does, might remove later if it doesn't do anything