Showing 3 of 50 total issues
Function handleRender
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handleRender(req, res) {
const sagaMiddleware = createSagaMiddleware();
const middleware = applyMiddleware(sagaMiddleware);
global.navigator = global.navigator || {};
Function render
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { t } = this.props;
const styles = getStyles(this.props, this.context);
styles.flatButton.top = -styles.flatButton.marginTop;
styles.flatButton.marginTop = 0;
Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const tabs = this.props.streams.map(stream => (
<Tab key={`tab:${stream.id}`} label={stream.label} value={stream.id} />
));
const views = this.props.streams.map((stream, index) => {