فهرست منبع

Renaming GGSHService to apiMethods

Kirk Trombley 5 سال پیش
والد
کامیت
4fa2e75ed0

+ 0 - 0
client/src/domain/GGSHService.js → client/src/domain/apiMethods.js


+ 1 - 1
client/src/domain/gameStore.js

@@ -1,6 +1,6 @@
 import { PRE_GAME, PRE_ROUND, IN_ROUND, POST_ROUND, POST_GAME } from "./GameState";
 import { createStore } from "../store";
-import { createGame, joinGame, sendGuess, getCurrentRound } from "./GGSHService";
+import { createGame, joinGame, sendGuess, getCurrentRound } from "./apiMethods";
 
 export const [
   {

+ 1 - 1
client/src/hooks/useApiHealth.jsx

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

+ 1 - 1
client/src/hooks/usePlayerScores.jsx

@@ -1,5 +1,5 @@
 import { useState, useEffect } from 'react';
-import { gameInfo } from '../domain/GGSHService';
+import { gameInfo } from '../domain/apiMethods';
 import { useGameId } from '../domain/gameStore';
 
 export default () => {

+ 1 - 1
client/src/hooks/useRoundInfo.jsx

@@ -1,5 +1,5 @@
 import { useState, useEffect } from 'react';
-import { getCurrentRound } from "../domain/GGSHService";
+import { getCurrentRound } from "../domain/apiMethods";
 import { useGameId, usePlayerName } from '../domain/gameStore';
 
 export default () => {