import React, { Component } from 'react' // import { Link } from 'react-router-dom' import { connect } from 'react-redux' import actions from 'app/actions' import ViewerSectionsNav from './viewer.sections.nav' import { ROMAN_NUMERALS, CURTAIN_COLOR_LOOKUP } from 'app/constants' import { clamp, timestamp, floatInRange, floatLT } from 'app/utils' import { thumbnailURL, sectionProgressPercentage } from 'app/utils/annotation.utils' import { SpeakerIcon } from '../nav/viewer.icons' class ViewerSections extends Component { shouldComponentUpdate(nextProps) { if (nextProps.nav !== this.props.nav) return true return nextProps.nav } render() { const { play_ts, sections, currentSection } = this.props return (