Skip to content

Commit

Permalink
fixing datastore/db mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
derick-everest committed Jun 12, 2021
1 parent 87ca788 commit 80143b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 39 deletions.
4 changes: 2 additions & 2 deletions src/routes/create/create.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Button, Col, Container, FormControl, Row} from "react-bootstrap";
import {useHistory} from "react-router-dom";
import {createGame} from "../../store/game";
import {createPlayer} from "../../store/player";
import {createGame} from "../../datastore/game";
import {createPlayer} from "../../datastore/player";
var randomstring = require("randomstring");

export function Create() {
Expand Down
4 changes: 2 additions & 2 deletions src/routes/join/join.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Button, Col, Container, FormControl, InputGroup, Row} from "react-bootstrap";
import {useHistory} from "react-router-dom";
import {createGame} from "../../store/game";
import {createPlayer} from "../../store/player";
import {createGame} from "../../datastore/game";
import {createPlayer} from "../../datastore/player";

export function Join() {
const history = useHistory();
Expand Down
15 changes: 0 additions & 15 deletions src/store/db.js

This file was deleted.

20 changes: 0 additions & 20 deletions src/store/player.js

This file was deleted.

0 comments on commit 80143b6

Please sign in to comment.