import React, { Component } from 'react' import { connect } from 'react-redux' import actions from 'app/actions' import { EfluxClose } from '../nav/eflux.icons' import { Arrow } from '../nav/viewer.icons' class HandheldModal extends Component { state = { visible: false, } componentDidUpdate(prevProps) { if (prevProps.showAtEndOfSection !== this.props.showAtEndOfSection && this.props.showAtEndOfSection) { this.setState({ visible: true }) } } render() { const { showAtEndOfSection } = this.props const { visible } = this.state console.log(showAtEndOfSection, visible) return (
{"The full episode is not currently supported on mobile devices."}
{"To continue viewing, please switch to your computer."}