summaryrefslogtreecommitdiff
path: root/frontend/src/containers/HomePage
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/containers/HomePage')
-rw-r--r--frontend/src/containers/HomePage/index.js3
-rw-r--r--frontend/src/containers/HomePage/saga.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/frontend/src/containers/HomePage/index.js b/frontend/src/containers/HomePage/index.js
index c8e33239..a00f46ae 100644
--- a/frontend/src/containers/HomePage/index.js
+++ b/frontend/src/containers/HomePage/index.js
@@ -1,7 +1,7 @@
import React, { Component } from 'react'
import { connect } from 'react-redux'
import { Heading, InlineForm } from 'rebass'
-
+import { Link } from 'react-router'
class HomePage extends Component {
play = (e) => {
@@ -22,6 +22,7 @@ class HomePage extends Component {
onChange={(e) => this._username = e.target.value}
onClick={this.play}
/>
+ <Link to="/somewhere">Take me somewhere</Link>
</div>
)
}
diff --git a/frontend/src/containers/HomePage/saga.js b/frontend/src/containers/HomePage/saga.js
index 0fbe8a45..349a1d15 100644
--- a/frontend/src/containers/HomePage/saga.js
+++ b/frontend/src/containers/HomePage/saga.js
@@ -39,11 +39,11 @@ function* validateUsername(socketConnection) {
}
yield put(setUsername(response.userName, response.displayName, response.index))
- yield call(gameBrowserSaga, socketConnection)
return true
}
function* homeSaga(socketConnection) {
+ console.log('here')
let validated = false
do {
const [, usernameValid] = yield [
bgstack15