Commit 7df59213 authored by Eric Rosenbaum's avatar Eric Rosenbaum

remove unused part of transfer host tile

parent 8a999903
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import {FormattedMessage} from 'react-intl';
import classNames from 'classnames'; import classNames from 'classnames';
const TransferHostTile = ({ const TransferHostTile = ({
className, username, image, isCreator, selected, handleSelected className, username, image, selected, handleSelected
}) => ( }) => (
<div <div
className={classNames('studio-member-tile', className, { className={classNames('studio-member-tile', className, {
...@@ -25,7 +24,6 @@ const TransferHostTile = ({ ...@@ -25,7 +24,6 @@ const TransferHostTile = ({
> >
{username} {username}
</div> </div>
{isCreator && <div className="studio-member-role"><FormattedMessage id="studio.HostRole" /></div>}
</div> </div>
{selected && {selected &&
<div className="transfer-selection-icon"> <div className="transfer-selection-icon">
...@@ -39,7 +37,6 @@ TransferHostTile.propTypes = { ...@@ -39,7 +37,6 @@ TransferHostTile.propTypes = {
username: PropTypes.string, username: PropTypes.string,
handleSelected: PropTypes.func, handleSelected: PropTypes.func,
image: PropTypes.string, image: PropTypes.string,
isCreator: PropTypes.bool,
selected: PropTypes.bool selected: PropTypes.bool
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment