diff --git a/src/components/Dependencies/Dependencies.tsx b/src/components/Dependencies/Dependencies.tsx
index 4f78649..ca3ad84 100644
--- a/src/components/Dependencies/Dependencies.tsx
+++ b/src/components/Dependencies/Dependencies.tsx
@@ -96,14 +96,16 @@ class Dependencies extends Component {
const dependencyMap = { dependencies, devDependencies, peerDependencies };
- const dependencyList = Object.keys(dependencyMap).reduce((result, value, key) => {
- const selectedDepndency = dependencyMap[value];
- if (selectedDepndency && this.checkDependencyLength(selectedDepndency)) {
- // @ts-ignore
- result.push();
- }
- return result;
- }, []);
+ const dependencyList = Object.keys(dependencyMap).reduce(
+ (result, value, key) => {
+ const selectedDepndency = dependencyMap[value];
+ if (selectedDepndency && this.checkDependencyLength(selectedDepndency)) {
+ result.push();
+ }
+ return result;
+ },
+ [] as JSX.Element[]
+ );
if (dependencyList.length) {
return {dependencyList};