Browse Source

Fixing some imports

Kirk Trombley 5 years ago
parent
commit
8b76d51bde

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

@@ -1,5 +1,5 @@
 import { useState, useEffect } from 'react';
-import { gameInfo, getGuesses } from "../domain/GGSHService";
+import { gameInfo, getGuesses } from "../../../domain/GGSHService";
 
 export default (gameId, playerName) => {
   const [finished, setFinished] = useState(false);

+ 1 - 1
client/src/components/util/ApiInfo/ApiInfo.jsx

@@ -1,5 +1,5 @@
 import React from "react";
-import useApiHealth from "../../../hooks/useApiHealth";
+import useApiHealth from "./useApiHealth";
 
 export default () => {
   const data = useApiHealth();

+ 1 - 1
client/src/components/util/ApiInfo/useApiHealth.jsx

@@ -1,5 +1,5 @@
 import { useState, useEffect } from "react";
-import { getStatus } from "../domain/GGSHService";
+import { getStatus } from "../../../domain/GGSHService";
 
 export default () => {
   const [data, setData] = useState(null);