- blocked_by filters
+
|
@@ -90,7 +90,7 @@ Counters.propTypes = {
replacedSafesearch: PropTypes.number.isRequired,
avgProcessingTime: PropTypes.number.isRequired,
refreshButton: PropTypes.node.isRequired,
- t: PropTypes.func,
+ t: PropTypes.func.isRequired,
};
export default withNamespaces()(Counters);
diff --git a/client/src/components/Dashboard/Statistics.js b/client/src/components/Dashboard/Statistics.js
index 898ccf22..744665ee 100644
--- a/client/src/components/Dashboard/Statistics.js
+++ b/client/src/components/Dashboard/Statistics.js
@@ -15,6 +15,7 @@ class Statistics extends Component {
blockedFiltering,
replacedSafebrowsing,
replacedParental,
+ t,
} = this.props;
const filteringData = [this.props.history[1]];
@@ -49,7 +50,7 @@ class Statistics extends Component {
{getPercent(dnsQueries, blockedFiltering)}
@@ -105,6 +106,7 @@ Statistics.propTypes = {
replacedSafebrowsing: PropTypes.number.isRequired,
replacedParental: PropTypes.number.isRequired,
refreshButton: PropTypes.node.isRequired,
+ t: PropTypes.func.isRequired,
};
export default withNamespaces()(Statistics);
|