aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/background-tasks/components/TaskExecutionTime.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks/components/TaskExecutionTime.js')
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/components/TaskExecutionTime.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskExecutionTime.js b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskExecutionTime.js
index 07e830d148a..98173c1af04 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskExecutionTime.js
+++ b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskExecutionTime.js
@@ -18,12 +18,14 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import React from 'react';
-import { formatDuration } from './../helpers';
+import { formatDuration } from '../utils';
-export default function TaskExecutionTime ({ task }) {
+const TaskExecutionTime = ({ task }) => {
return (
<td className="thin nowrap text-right">
{formatDuration(task.executionTimeMs)}
</td>
);
-}
+};
+
+export default TaskExecutionTime;