File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ function EditProfilePage() {
176
176
if ( ! tempFields . includes ( el ) ) tempFields . push ( el ) ;
177
177
} ) ;
178
178
179
- setTimeData ( res . data . times ? res . data . times : [ ] ) ;
179
+ setTimeData ( res . data . times ? res . data . times : [ ] ) ;
180
180
setTotalField ( tempFields ) ;
181
181
setSelectedField ( res . data . field ) ;
182
182
setTotalKeyword ( res . data . keyword ) ;
@@ -419,7 +419,7 @@ function EditProfilePage() {
419
419
) }
420
420
</ div >
421
421
< SetDataBox >
422
- { ( timeData && timeData . length > 0 ) ? (
422
+ { timeData && timeData . length > 0 ? (
423
423
< >
424
424
{ timeData &&
425
425
timeData . map ( ( el , idx ) => (
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import FullModal from '@/components/Modal/FullModal';
26
26
import { useRouter } from 'next/navigation' ;
27
27
import findExCode from '@/utils/findExCode' ;
28
28
import { JMCancelAtom } from '@/stores/condition' ;
29
+ import { REVIEW_FORM_URL } from '@/constants/form/reviewForm' ;
29
30
30
31
function convertDateType ( date : string ) {
31
32
if ( ! date ) return new Date ( ) ;
@@ -185,6 +186,12 @@ function TabBar() {
185
186
onClick = { ( ) => {
186
187
setModalType ( 'junior' ) ;
187
188
setSelectedMentoringId ( el . mentoringId ) ;
189
+ if ( typeof window !== undefined )
190
+ window . open (
191
+ REVIEW_FORM_URL ,
192
+ '_blank' ,
193
+ 'noopener, noreferrer' ,
194
+ ) ;
188
195
} }
189
196
/>
190
197
) }
Original file line number Diff line number Diff line change 1
- import Script from " next/script" ;
1
+ import Script from ' next/script' ;
2
2
3
3
const GoogleAnalytics = ( ) => (
4
4
< >
@@ -21,4 +21,4 @@ const GoogleAnalytics = () => (
21
21
> </ Script >
22
22
</ >
23
23
) ;
24
- export default GoogleAnalytics ;
24
+ export default GoogleAnalytics ;
Original file line number Diff line number Diff line change
1
+ export const REVIEW_FORM_URL = 'https://tally.so/r/wa6WW9' ;
You can’t perform that action at this time.
0 commit comments