File tree Expand file tree Collapse file tree 1 file changed +13
-16
lines changed
frontend/components/service/Program Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import styled from 'styled-components'
33import { ITalkItem } from '../../../interfaces/IProgram'
44import { media } from '../../../assets/styles/mixin'
55import { Heading4 } from '../../../assets/styles/typo'
6- import Link from 'next/link'
76import { DEFAULT_PROFILE_PATH } from '../../../data/constants/config'
87
98const TalkList = styled . ul `
@@ -17,7 +16,7 @@ const TalkListItem = styled.li`
1716 ` ) }
1817 }
1918`
20- const TalkLink = styled ( Link ) `
19+ const TalkLink = styled . a `
2120 display: block;
2221`
2322const TalkBlock = styled . div `
@@ -50,20 +49,18 @@ const CategoryListItem = (props: { list: ITalkItem[] }) => {
5049 { props . list . map ( ( talk , index ) => (
5150 < TalkListItem key = { talk . id } >
5251 < TalkLink href = { `/program/talks/${ talk . id } ` } >
53- < a >
54- < TalkBlock >
55- < SpeakerProfile
56- image = {
57- talk . speaker_profile_img ??
58- DEFAULT_PROFILE_PATH
59- }
60- />
61- < PersonBlock >
62- < Title > { talk . title } </ Title >
63- < Speaker > { talk . user_name } </ Speaker >
64- </ PersonBlock >
65- </ TalkBlock >
66- </ a >
52+ < TalkBlock >
53+ < SpeakerProfile
54+ image = {
55+ talk . speaker_profile_img ??
56+ DEFAULT_PROFILE_PATH
57+ }
58+ />
59+ < PersonBlock >
60+ < Title > { talk . title } </ Title >
61+ < Speaker > { talk . user_name } </ Speaker >
62+ </ PersonBlock >
63+ </ TalkBlock >
6764 </ TalkLink >
6865 </ TalkListItem >
6966 ) ) }
You can’t perform that action at this time.
0 commit comments