diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/common/RenderArrays.js b/monkey/monkey_island/cc/ui/src/components/report-components/common/RenderArrays.js
index f06ee4849..692484f27 100644
--- a/monkey/monkey_island/cc/ui/src/components/report-components/common/RenderArrays.js
+++ b/monkey/monkey_island/cc/ui/src/components/report-components/common/RenderArrays.js
@@ -24,11 +24,13 @@ export let renderLimitedArray = function (array,
} else {
element = (<>{array[i]}>);
}
- elements.push(
{element}
);
+ elements.push({element}
);
}
let remainder = array.length - limit;
if(remainder > 0){
- elements.push( and {remainder} more
);
+ elements.push(
+ and {remainder} more
+
);
}
return elements
}
diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/ransomware/BreachSection.tsx b/monkey/monkey_island/cc/ui/src/components/report-components/ransomware/BreachSection.tsx
index 0cf23dfdd..abf7eb277 100644
--- a/monkey/monkey_island/cc/ui/src/components/report-components/ransomware/BreachSection.tsx
+++ b/monkey/monkey_island/cc/ui/src/components/report-components/ransomware/BreachSection.tsx
@@ -25,7 +25,7 @@ function BreachSection() {
function getBreachSectionBody(machines) {
let machineList = [];
for(let i = 0; i < machines.length; i++){
- machineList.push({getMachine(machines[i])});
+ machineList.push(getMachine(machines[i]));
}
return (
@@ -39,10 +39,10 @@ function getBreachSectionBody(machines) {
function getMachine(machine) {
return (
- <>
+
{machine['hostname']}
({renderLimitedArray(machine['ip_addresses'], 2, 'ip-address')}) at {machine['start_time']}
- >
+
)
}