Small fixes.
parent
79609f3b73
commit
7b5601562f
|
|
@ -29,7 +29,7 @@ const App = (props) =>
|
||||||
<Room />
|
<Room />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
App.propTypes =
|
App.propTypes =
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,8 @@ import { withStyles } from '@material-ui/core/styles';
|
||||||
import { withRoomContext } from '../RoomContext';
|
import { withRoomContext } from '../RoomContext';
|
||||||
import * as stateActions from '../actions/stateActions';
|
import * as stateActions from '../actions/stateActions';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Dialog from '@material-ui/core/Dialog';
|
|
||||||
import Typography from '@material-ui/core/Typography';
|
import Typography from '@material-ui/core/Typography';
|
||||||
import Paper from '@material-ui/core/Paper';
|
import Paper from '@material-ui/core/Paper';
|
||||||
import DialogActions from '@material-ui/core/DialogActions';
|
|
||||||
import Button from '@material-ui/core/Button';
|
|
||||||
import TextField from '@material-ui/core/TextField';
|
|
||||||
|
|
||||||
const styles = (theme) =>
|
const styles = (theme) =>
|
||||||
({
|
({
|
||||||
|
|
@ -53,9 +49,6 @@ const styles = (theme) =>
|
||||||
});
|
});
|
||||||
|
|
||||||
const Lobby = ({
|
const Lobby = ({
|
||||||
roomClient,
|
|
||||||
displayName,
|
|
||||||
changeDisplayName,
|
|
||||||
classes
|
classes
|
||||||
}) =>
|
}) =>
|
||||||
{
|
{
|
||||||
|
|
@ -70,10 +63,7 @@ const Lobby = ({
|
||||||
|
|
||||||
Lobby.propTypes =
|
Lobby.propTypes =
|
||||||
{
|
{
|
||||||
roomClient : PropTypes.any.isRequired,
|
classes : PropTypes.object.isRequired
|
||||||
displayName : PropTypes.string.isRequired,
|
|
||||||
changeDisplayName : PropTypes.func.isRequired,
|
|
||||||
classes : PropTypes.object.isRequired
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const mapStateToProps = (state) =>
|
const mapStateToProps = (state) =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue