Skip to content

Commit

Permalink
refactor / rename
Browse files Browse the repository at this point in the history
  • Loading branch information
h908714124 committed Aug 14, 2024
1 parent 31a353d commit ff06de3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/main/client/src/Router.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
} from "./Login.jsx"
import {
Lobby,
} from "./Lobby.jsx"
} from "./feature/lobby/Lobby.jsx"
import {
Game,
} from "./feature/game/Game.jsx"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import {
StompContext,
tfetch,
doTry,
} from "../util.js"
} from "../../util.js"
import {
useAuthStore,
useGameStore,
} from "../store.js"
} from "../../store.js"

export function ActiveGames() {
let [activeGames, setActiveGames] = useState([])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ import {
} from "react-router-dom"
import {
Button,
} from "./component/Button.jsx"
} from "../../component/Button.jsx"
import {
base,
StompContext,
tfetch,
doTry,
} from "./util.js"
} from "../../util.js"
import {
LobbyPanel,
} from "./feature/LobbyPanel.jsx"
} from "./LobbyPanel.jsx"
import {
OpenGames,
} from "./feature/OpenGames.jsx"
} from "./OpenGames.jsx"
import {
ActiveGames,
} from "./feature/ActiveGames.jsx"
} from "./ActiveGames.jsx"
import {
useAuthStore,
} from "./store.js"
} from "../../store.js"
import {
CgClose,
} from "react-icons/cg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import {
tfetch,
StompContext,
doTry,
} from "../util.js"
} from "../../util.js"
import {
useAuthStore,
} from "../store.js"
} from "../../store.js"

export const LobbyPanel = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ import {
} from "react-router-dom"
import {
Form,
} from "../component/Form.jsx"
} from "../../component/Form.jsx"
import {
Button,
} from "../component/Button.jsx"
} from "../../component/Button.jsx"
import {
base,
StompContext,
tfetch,
doTry,
} from "../util.js"
} from "../../util.js"
import {
useAuthStore,
useGameStore,
} from "../store.js"
} from "../../store.js"

export function OpenGames() {
let [openGames, setOpenGames] = useState([])
Expand Down

0 comments on commit ff06de3

Please sign in to comment.