浏览代码

Converting pre game into module to split it up a bit

Kirk Trombley 5 年之前
父节点
当前提交
8a858a89f8

+ 1 - 0
ui/src/components/pre-game.component/index.jsx

@@ -0,0 +1 @@
+export { default } from './pre-game.component';

+ 2 - 2
ui/src/components/pre-game.component.jsx → ui/src/components/pre-game.component/pre-game.component.jsx

@@ -1,6 +1,6 @@
 import React, { useState } from "react";
-import Loading from "./loading.component";
-import { createGame, joinGame } from "../services/ggsh.service";
+import Loading from "../loading.component";
+import { createGame, joinGame } from "../../services/ggsh.service";
 
 // TODO set round timer for new game