chore: redo some debug oauth waiting strings, dockerfile

This commit is contained in:
Katie Thornhill 2019-11-20 00:28:35 -05:00
parent 86c31126e8
commit f6b54eb196
No known key found for this signature in database
GPG key ID: F76EDC6541A99644
5 changed files with 11 additions and 11 deletions

View file

@ -1,5 +1,5 @@
import superagent from 'superagent'
import { history } from './router/history'
import { history } from '../router/history'
export const fetchServers = async dispatch => {
const rsp = await superagent.get('/api/servers')

View file

@ -5,7 +5,7 @@ import superagent from 'superagent'
class OauthCallback extends Component {
state = {
notReady: true,
message: 'chotto matte kudasai...',
message: 'giving discord the good news...',
url: null,
}
@ -28,4 +28,4 @@ class OauthCallback extends Component {
}
}
export default connect(OauthCallback)
export default connect()(OauthCallback)

View file

@ -7,7 +7,7 @@ import { fetchServers } from '../../actions'
class OauthCallback extends Component {
state = {
notReady: true,
message: 'chotto matte kudasai...',
message: 'shaking hands with discord...',
redirect: '/s',
}
@ -83,4 +83,4 @@ class OauthCallback extends Component {
}
}
export default connect(OauthCallback)
export default connect()(OauthCallback)

View file

@ -8,7 +8,7 @@ import { fetchServers } from '../../actions'
class OauthCallback extends Component {
state = {
notReady: true,
message: 'chotto matte kudasai...',
message: 'sending you to discord...',
redirect: '/s',
url: null,
}
@ -82,4 +82,4 @@ class OauthCallback extends Component {
}
}
export default connect(OauthCallback)
export default connect()(OauthCallback)