Skip to content

Commit 1ef5bd6

Browse files
committed
fix build error
1 parent 847b301 commit 1ef5bd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/pages/program/talks/[id].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { GetServerSideProps, GetServerSidePropsContext, NextPage } from 'next'
22
import React from 'react'
33
import { LocalePage } from '../../../interfaces/PageProps'
4-
import { ISpeaker, ITalkItem } from '../../../interfaces/IProgram'
4+
import { IPerson, ITalkItem } from '../../../interfaces/IProgram'
55
import { getTalkById } from '../../api/program'
66
import PageTitle from '../../../components/core/PageTitle'
77
import { useTranslation } from 'react-i18next'
@@ -34,7 +34,7 @@ const TalkListDetail: NextPage = (props: TalkListDetailProps) => {
3434
const { t } = useTranslation()
3535

3636
const item: ITalkItem = props[props.locale]
37-
const speaker: ISpeaker = {
37+
const speaker: IPerson = {
3838
image: item.speaker_profile_img ?? DEFAULT_PROFILE_PATH,
3939
name: item.user_name,
4040
introduction: item.introduction

0 commit comments

Comments
 (0)