summaryrefslogtreecommitdiff
path: root/frontend/src/containers/home.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/containers/home.js')
-rw-r--r--frontend/src/containers/home.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/containers/home.js b/frontend/src/containers/home.js
index ce1b69fd..cc35f2bc 100644
--- a/frontend/src/containers/home.js
+++ b/frontend/src/containers/home.js
@@ -7,7 +7,7 @@ class HomePage extends Component {
play = (e) => {
e.preventDefault()
if (this._username !== undefined) {
- this.props.enterGame(this._username)
+ this.props.chooseUsername(this._username)
}
}
@@ -32,9 +32,9 @@ const mapStateToProps = (state) => ({
})
-import { actions } from '../redux/game'
+import { actions } from '../redux/user'
const mapDispatchToProps = {
- enterGame: actions.enterGame
+ chooseUsername: actions.chooseUsername
}
export default connect(mapStateToProps, mapDispatchToProps)(HomePage)
bgstack15