diff --git a/frontend/src/ui/Blocks/Video.tsx b/frontend/src/ui/Blocks/Video.tsx index 903cd3d93..ff01137e6 100644 --- a/frontend/src/ui/Blocks/Video.tsx +++ b/frontend/src/ui/Blocks/Video.tsx @@ -7,16 +7,16 @@ import { Title } from ".."; import { Card } from "../Card"; import { useTranslation } from "react-i18next"; import { isSynced, keyOfId } from "../../util"; -import { FiChevronRight } from "react-icons/fi"; +import { FiArrowRightCircle } from "react-icons/fi"; import { LinkButton } from "../Button"; -import { COLORS } from "../../color"; type Props = { fragRef: VideoBlockData$key; + basePath: string; }; -export const VideoBlock: React.FC = ({ fragRef }) => { +export const VideoBlock: React.FC = ({ fragRef, basePath }) => { const { t } = useTranslation(); const { event, showTitle, showLink } = useFragment(graphql` fragment VideoBlockData on VideoBlock { @@ -61,15 +61,11 @@ export const VideoBlock: React.FC = ({ fragRef }) => { ? : {t("video.not-ready.title")}} {showLink && {t("video.link")} - + } ; }; diff --git a/frontend/src/ui/Blocks/index.tsx b/frontend/src/ui/Blocks/index.tsx index 00d97e075..506375b2c 100644 --- a/frontend/src/ui/Blocks/index.tsx +++ b/frontend/src/ui/Blocks/index.tsx @@ -70,7 +70,7 @@ export const Block: React.FC = ({ block: blockRef, realm }) => { "TitleBlock": () => , "TextBlock": () => , "SeriesBlock": () => , - "VideoBlock": () => , + "VideoBlock": () => , })} ; };