diff --git a/app/javascript/gabsocial/features/ui/components/progress_panel.js b/app/javascript/gabsocial/features/ui/components/progress_panel.js index 7947a18e..5057761c 100644 --- a/app/javascript/gabsocial/features/ui/components/progress_panel.js +++ b/app/javascript/gabsocial/features/ui/components/progress_panel.js @@ -5,8 +5,9 @@ export default class ProgressPanel extends React.PureComponent { render() { if (!monthlyExpensesComplete) return null; + const completed = Math.min(monthlyExpensesComplete, 100); const style = { - width: `${monthlyExpensesComplete}%`, + width: `${completed}%`, }; return ( @@ -18,7 +19,7 @@ export default class ProgressPanel extends React.PureComponent { We are 100% funded by you.
- {monthlyExpensesComplete}% covered this month + {completed}% covered this month