From f4b2f5cf88d754ff855dac9e7ef11e6c1c4c400a Mon Sep 17 00:00:00 2001 From: Rahul Jain Date: Tue, 28 Jun 2022 19:00:18 +0530 Subject: [PATCH] fix: #565 --- src/constants/skills.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/constants/skills.js b/src/constants/skills.js index 84de7686..b9b28adc 100644 --- a/src/constants/skills.js +++ b/src/constants/skills.js @@ -508,7 +508,8 @@ const skillWebsites = { const initialSkillState = {}; const skillsArray = Object.keys(categorizedSkills).map((key) => categorizedSkills[key].skills); -const skills = [...skillsArray].sort(); +// eslint-disable-next-line prefer-spread +const skills = [].concat.apply([], skillsArray).sort(); skills.forEach((skill) => { initialSkillState[skill] = false;