summaryrefslogtreecommitdiff
path: root/frontend/src/components/game-browser/GameBrowser.jsx
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-06-09 16:23:49 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-06-09 17:22:40 +0200
commitb064ffab80cfccd0cfaa326275a5a3194e112be6 (patch)
treee136aeab7da5f52acbf65e1b1f36e41c2b4ab7a0 /frontend/src/components/game-browser/GameBrowser.jsx
parentRefresh dependencies (diff)
downloadseven-wonders-b064ffab80cfccd0cfaa326275a5a3194e112be6.tar.gz
seven-wonders-b064ffab80cfccd0cfaa326275a5a3194e112be6.tar.bz2
seven-wonders-b064ffab80cfccd0cfaa326275a5a3194e112be6.zip
Improve game list's style
Diffstat (limited to 'frontend/src/components/game-browser/GameBrowser.jsx')
-rw-r--r--frontend/src/components/game-browser/GameBrowser.jsx7
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);
bgstack15