From 242fd58de7864c39b0687cdcfc0a23b9e83a5624 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Fri, 5 Jun 2020 20:03:30 +0300 Subject: [PATCH] PropTypes fix --- .../charts/server/components/SessionsRunningTimeChart.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/charts/server/components/SessionsRunningTimeChart.js b/src/features/charts/server/components/SessionsRunningTimeChart.js index 5b3cf43..b8709eb 100644 --- a/src/features/charts/server/components/SessionsRunningTimeChart.js +++ b/src/features/charts/server/components/SessionsRunningTimeChart.js @@ -35,8 +35,8 @@ const SessionsRunningTimeChart = ({ data }) => { }; CustomTooltip.propTypes = { - active: PropTypes.bool.isRequired, - payload: PropTypes.object + active: PropTypes.bool, + payload: PropTypes.array }; return (