diff options
Diffstat (limited to 'frontend/src/components/game-browser/GameBrowser.jsx')
-rw-r--r-- | frontend/src/components/game-browser/GameBrowser.jsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/frontend/src/components/game-browser/GameBrowser.jsx b/frontend/src/components/game-browser/GameBrowser.jsx index db0bbb9a..84abd978 100644 --- a/frontend/src/components/game-browser/GameBrowser.jsx +++ b/frontend/src/components/game-browser/GameBrowser.jsx @@ -41,14 +41,11 @@ class GameBrowserPresenter extends Component<GameBrowserProps> { } const CreateGameButton = ({onClick}) => ( - <Button className={Classes.MINIMAL} onClick={onClick} intent={Intent.PRIMARY}>Create Game</Button> + <Button className={Classes.MINIMAL} intent={Intent.PRIMARY} icon='add' onClick={onClick} /> ); -const mapStateToProps = () => ({ -}); - const mapDispatchToProps = { createGame: actions.requestCreateGame, }; -export const GameBrowser = connect(mapStateToProps, mapDispatchToProps)(GameBrowserPresenter); +export const GameBrowser = connect(null, mapDispatchToProps)(GameBrowserPresenter); |