File tree Expand file tree Collapse file tree 5 files changed +8
-36
lines changed
components/connect-linked-in Expand file tree Collapse file tree 5 files changed +8
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ export const PageEducationsContent: FC<{
3232 useEffect ( ( ) => {
3333 if ( ! educations && props . reduxEducations ) {
3434 setEducations ( props . reduxEducations )
35- setEducationId ( props . reduxEducations [ props . reduxEducations . length - 1 ] . id + 1 )
35+ if ( props . reduxEducations . length > 0 ) {
36+ setEducationId ( props . reduxEducations [ props . reduxEducations . length - 1 ] . id + 1 )
37+ }
3638 }
3739 /* eslint-disable react-hooks/exhaustive-deps */
3840 } , [ props . reduxEducations ] )
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import SkillInfo from '../../models/SkillInfo'
1818import SkillTag from '../../components/skill-tag'
1919
2020import styles from './styles.module.scss'
21- import ConnectLinkedIn from '../../components/connect-linked-in'
2221
2322const PageSkillsContent : FC < {
2423 memberInfo ?: Member ,
@@ -109,8 +108,6 @@ const PageSkillsContent: FC<{
109108 />
110109 </ div >
111110 </ div >
112-
113- < ConnectLinkedIn />
114111 </ div >
115112
116113 < ProgressBar
Original file line number Diff line number Diff line change @@ -25,15 +25,8 @@ export const PageStart: FC<{}> = () => {
2525
2626 < div className = { classNames ( 'd-flex justify-content-between flex-wrap mt-30' , styles . blockOr ) } >
2727 < div >
28- < span > We can extract data from your LinkedIn profile or a digital version of your resume.</ span >
28+ < span > We can extract data from a digital version of your resume.</ span >
2929 < div className = { classNames ( styles . blockImportButtons , 'd-flex' ) } >
30- < Button
31- size = 'lg'
32- secondary
33- iconToLeft
34- >
35- import from linked in
36- </ Button >
3730 < Button
3831 size = 'lg'
3932 secondary
@@ -71,6 +64,7 @@ export const PageStart: FC<{}> = () => {
7164 size = 'lg'
7265 primary
7366 iconToLeft
67+ onClick = { ( ) => navigate ( '../skills' ) }
7468 >
7569 next
7670 </ Button >
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { Button, PageDivider } from '~/libs/ui'
1111
1212import { ProgressBar } from '../../components/progress-bar'
1313import styles from './styles.module.scss'
14- import ConnectLinkedIn from '../../components/connect-linked-in'
1514import WorkInfo from '../../models/WorkInfo'
1615import ModalAddWork from '../../components/modal-add-work'
1716import IconEdit from '../../assets/images/edit.svg'
@@ -33,7 +32,9 @@ export const PageWorksContent: FC<{
3332 useEffect ( ( ) => {
3433 if ( ! works && props . reduxWorks ) {
3534 setWorks ( props . reduxWorks )
36- setWorkId ( props . reduxWorks [ props . reduxWorks . length - 1 ] . id + 1 )
35+ if ( props . reduxWorks . length > 0 ) {
36+ setWorkId ( props . reduxWorks [ props . reduxWorks . length - 1 ] . id + 1 )
37+ }
3738 }
3839 /* eslint-disable react-hooks/exhaustive-deps */
3940 } , [ props . reduxWorks ] )
@@ -99,7 +100,6 @@ export const PageWorksContent: FC<{
99100 </ span >
100101 ) : null }
101102 </ div >
102- < ConnectLinkedIn />
103103 </ div >
104104
105105 < ProgressBar
You can’t perform that action at this time.
0 commit comments