With {strategies.length > 1 ? 'strategies' : 'strategy'}{' '}
- {strategies.map((strategy, i) => (
-
- ))}
+ {strategies.map((strategy, i) => )}
);
@@ -59,10 +54,8 @@ export default class MetricComponent extends React.Component {
seenApps = [],
} = metrics;
- const lastHourPercent =
- 1 * calc(lastHour.yes, lastHour.yes + lastHour.no, 0);
- const lastMinutePercent =
- 1 * calc(lastMinute.yes, lastMinute.yes + lastMinute.no, 0);
+ const lastHourPercent = 1 * calc(lastHour.yes, lastHour.yes + lastHour.no, 0);
+ const lastMinutePercent = 1 * calc(lastMinute.yes, lastMinute.yes + lastMinute.no, 0);
return (
@@ -75,9 +68,7 @@ export default class MetricComponent extends React.Component {
animatePercentageText
/>
{lastMinute.isFallback ? (
-
- No metrics available
-
+
No metrics available
) : (
Last minute
@@ -86,14 +77,9 @@ export default class MetricComponent extends React.Component {
)}
-
+
{lastHour.isFallback ? (
-
- No metrics available
-
+ No metrics available
) : (
Last hour
@@ -115,20 +101,14 @@ export default class MetricComponent extends React.Component {
/>
-
- Not used in an app in the last hour.
-
- This might be due to your client
- implementation is not reporting usage.
+ Not used in an app in the last hour.
+ This might be due to your client implementation is not reporting usage.
|
)}