Commit fca9abd3 authored by Jannik Lehmann's avatar Jannik Lehmann

Refactor Usage of map in utils.js

parent d451d002
......@@ -18,7 +18,7 @@ export const augmentFeatures = (securityFeatures, complianceFeatures, features =
};
return {
augmentedSecurityFeatures: securityFeatures.map(augmentFeature),
augmentedComplianceFeatures: complianceFeatures.map(augmentFeature),
augmentedSecurityFeatures: securityFeatures.map((e) => augmentFeature(e)),
augmentedComplianceFeatures: complianceFeatures.map((e) => augmentFeature(e)),
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment