diff options
Diffstat (limited to 'frontend/src/sagas.js')
-rw-r--r-- | frontend/src/sagas.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/src/sagas.js b/frontend/src/sagas.js index e43e91c2..7c356e1d 100644 --- a/frontend/src/sagas.js +++ b/frontend/src/sagas.js @@ -4,11 +4,15 @@ import { call } from 'redux-saga/effects' import createWsConnection from './utils/createWebSocketConnection' import usernameChoiceSaga from './sagas/usernameChoice' +import gameBrowserSaga from './sagas/gameBrowser' let wsConnection const routes = { *'/'() { yield usernameChoiceSaga(wsConnection) + }, + *'/games'() { + yield gameBrowserSaga(wsConnection) } } |