diff --git a/src/shared/components/Settings/Profile/Skills/index.jsx b/src/shared/components/Settings/Profile/Skills/index.jsx index 04ca78494a..9ec1f99c1f 100644 --- a/src/shared/components/Settings/Profile/Skills/index.jsx +++ b/src/shared/components/Settings/Profile/Skills/index.jsx @@ -434,24 +434,6 @@ export default class Skills extends ConsentComponent { }) } - { - isMobileView && ( -
0 ? '' : 'hide'}`}> - { - buttons.map((item, index) => ( - this.setPage(index)} - onKeyPress={() => this.setPage(index)} - role="button" - styleName={`mobile-button ${currentIndex === index ? 'mobile-active' : ''}`} - /> - )) - } -
- ) - }
0 ? 'second' : 'first'}`}> Add a new skill @@ -526,6 +508,24 @@ export default class Skills extends ConsentComponent {
+ { + isMobileView && ( +
0 ? '' : 'hide'}`}> + { + buttons.map((item, index) => ( + this.setPage(index)} + onKeyPress={() => this.setPage(index)} + role="button" + styleName={`mobile-button ${currentIndex === index ? 'mobile-active' : ''}`} + /> + )) + } +
+ ) + } );