PR feedback

This commit is contained in:
David Baker 2017-08-15 10:57:24 +01:00
parent b7b449434d
commit fa660c8211
4 changed files with 13 additions and 16 deletions

View file

@ -18,9 +18,9 @@ limitations under the License.
import PropTypes from 'prop-types';
import MatrixClientPeg from './MatrixClientPeg';
import MultiInviter from './utils/MultiInviter';
import Modal from "./Modal";
import Modal from './Modal';
import createRoom from './createRoom';
import sdk from "./";
import sdk from './';
import { _t } from './languageHandler';
const emailRegex = /^\S+@\S+\.\S+$/;
@ -36,7 +36,7 @@ export const addressTypes = [
// could be a third party identifier or a matrix ID)
// along with some additional information about the
// address / target.
export const InviteAddressType = PropTypes.shape({
export const UserAddressType = PropTypes.shape({
addressType: PropTypes.oneOf(addressTypes).isRequired,
address: PropTypes.string.isRequired,
displayName: PropTypes.string,