Browse Source

Moving Timer component since it's only used in GamePanel

Kirk Trombley 5 years ago
parent
commit
ab1c52da70

+ 1 - 1
client/src/components/screens/GamePanel/GuessPane.jsx

@@ -1,7 +1,7 @@
 import React from "react";
 import styled from "styled-components";
 import ClickMarkerMap from "./ClickMarkerMap";
-import RoundTimer from "../../util/Timer";
+import RoundTimer from "./RoundTimer";
 import Button from "../../util/Button";
 
 const Container = styled.div`

+ 1 - 1
client/src/components/util/Timer.jsx → client/src/components/screens/GamePanel/RoundTimer.jsx

@@ -1,7 +1,7 @@
 import React from "react";
 import styled from "styled-components";
 import ms from "pretty-ms";
-import useCountdown from "../../hooks/useCountdown";
+import useCountdown from "../../../hooks/useCountdown";
 
 const TimerSpan = styled.span`
   padding: 1px;