+ client: functional components for dashboard

This commit is contained in:
Ildar Kamalov
2019-08-27 16:43:58 +03:00
parent 75df5e8292
commit 6bce41bb0a
14 changed files with 310 additions and 370 deletions

View File

@@ -51,7 +51,7 @@ class Dashboard extends Component {
const subtitle =
stats.interval === 1
? t('for_last_24_hours')
: t('for_last_days', { value: stats.interval });
: t('for_last_days', { count: stats.interval });
const refreshFullButton = (
<button