fix Modal typo and refactor BaseDialog to fix " undefined" className

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2018-06-12 11:15:30 +01:00
parent 7f1ce52dd3
commit d8a1feb501
2 changed files with 16 additions and 9 deletions

View File

@@ -187,7 +187,7 @@ export default class ChatCreateOrReuseDialog extends React.Component {
}
}
ChatCreateOrReuseDialog.propTyps = {
ChatCreateOrReuseDialog.propTypes = {
userId: PropTypes.string.isRequired,
// Called when clicking outside of the dialog
onFinished: PropTypes.func.isRequired,