Sfoglia il codice sorgente

Fixing some imports

Kirk Trombley 5 anni fa
parent
commit
e55d574cf7

+ 1 - 1
client/src/components/game.component/game.jsx

@@ -10,7 +10,7 @@ import {
 import PreGame from '../screens/pre-game.component';
 import PreRound from '../screens/pre-round.component';
 import GamePanelContainer from "../screens/game-panel.component";
-import RoundSummary from '../round-summary.component';
+import RoundSummary from '../screens/round-summary.component';
 import PlayerScoresContainer from "../screens/player-scores.component";
 
 const initialState = {

+ 2 - 2
client/src/components/screens/pre-game.component/pre-game.component.jsx

@@ -1,8 +1,8 @@
 import React, { useState } from "react";
-import Loading from "../util/loading.component";
+import Loading from "../../util/loading.component";
 import PlayerNameInput from "./player-name-input.component";
 import JoinGameInput from "./join-game-input.component";
-import { createGame, joinGame } from "../../services/ggsh.service";
+import { createGame, joinGame } from "../../../services/ggsh.service";
 
 // TODO set round timer for new game
 

+ 1 - 2
client/src/components/screens/round-summary.component.jsx

@@ -1,6 +1,5 @@
 import React from "react";
-import withGoogleApiKey from "./with-google-key.component";
-import ClickToCopy from "./util/click-to-copy.component";
+import ClickToCopy from "../util/click-to-copy.component";
 
 // TODO eventually we want this to query and show other players