summaryrefslogtreecommitdiff
path: root/frontend/src/components/home/ChooseNameForm.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/home/ChooseNameForm.jsx')
-rw-r--r--frontend/src/components/home/ChooseNameForm.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/src/components/home/ChooseNameForm.jsx b/frontend/src/components/home/ChooseNameForm.jsx
index 119fc851..386f249b 100644
--- a/frontend/src/components/home/ChooseNameForm.jsx
+++ b/frontend/src/components/home/ChooseNameForm.jsx
@@ -1,8 +1,9 @@
// @flow
-import { Button, Classes, InputGroup, Intent } from '@blueprintjs/core';
+import { Classes, InputGroup, Intent } from '@blueprintjs/core';
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { actions } from '../../redux/players';
+import { IconButton } from '../shared/IconButton';
export type ChooseNameFormPresenterProps = {
chooseUsername: (username: string) => void,
@@ -31,7 +32,7 @@ class ChooseNameFormPresenter extends Component<ChooseNameFormPresenterProps> {
}
renderSubmit = () => (
- <Button className={Classes.MINIMAL} onClick={this.play} intent={Intent.PRIMARY} rightIcon="arrow-right" />
+ <IconButton className={Classes.MINIMAL} onClick={this.play} intent={Intent.PRIMARY} icon="arrow-right" />
);
}
bgstack15