Small fixes.

master
Håvar Aambø Fosstveit 2019-10-23 13:11:06 +02:00
parent 79609f3b73
commit 7b5601562f
2 changed files with 2 additions and 12 deletions

View File

@ -29,7 +29,7 @@ const App = (props) =>
<Room /> <Room />
); );
} }
} };
App.propTypes = App.propTypes =
{ {

View File

@ -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,9 +63,6 @@ const Lobby = ({
Lobby.propTypes = Lobby.propTypes =
{ {
roomClient : PropTypes.any.isRequired,
displayName : PropTypes.string.isRequired,
changeDisplayName : PropTypes.func.isRequired,
classes : PropTypes.object.isRequired classes : PropTypes.object.isRequired
}; };