import { monthlyExpensesComplete } from '../../initial_state'; export default class ProgressPanel extends PureComponent { render() { if (!monthlyExpensesComplete) return null; const completed = Math.min(monthlyExpensesComplete, 100); const style = { width: `${completed}%`, }; return (