Skip to content

Commit

Permalink
Update [course_slug].jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tommygonzaleza authored Dec 12, 2024
1 parent c82ead8 commit 3f8ec22
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/bootcamp/[course_slug].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,7 @@ function CoursePage({ data }) {
<Flex as="h1" gridGap="8px" flexDirection="column" alignItems="start">
{
data?.course_translation?.heading ? (
<Heading as="span" size={{ base: '38px', md: '46px' }} fontFamily="lato" letterSpacing="0.05em" fontWeight="normal" lineHeight="normal">
{data.course_translation.heading}
</Heading>
<Heading as="span" size={{ base: '38px', md: '46px' }} fontFamily="lato" letterSpacing="0.05em" fontWeight="normal" lineHeight="normal" dangerouslySetInnerHTML={{ __html: data?.course_translation?.heading }} />
) : (
<>
<Heading as="span" size={{ base: '38px', md: '46px' }} fontFamily="lato" letterSpacing="0.05em" fontWeight="normal" lineHeight="normal">
Expand Down

0 comments on commit 3f8ec22

Please sign in to comment.