Skip to content

Commit

Permalink
Remove ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
damassi committed Aug 14, 2020
1 parent c4bb79e commit dc295cf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/v2/Apps/Feature/Components/FeatureFeaturedLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export const FeatureFeaturedLink: React.FC<FeatureFeaturedLinkProps> = ({

<Flex flexDirection={size === "large" ? ["column", "row"] : "column"}>
{subtitle && (
// @ts-ignore
<HTML variant="mediumText" html={subtitle} mt={2} flexBasis="50%" />
)}

Expand All @@ -125,7 +124,6 @@ export const FeatureFeaturedLink: React.FC<FeatureFeaturedLinkProps> = ({
</Row>
</Grid>
) : (
// @ts-ignore
<HTML variant="text" html={description} mt={1} flexBasis="50%" />
))}
</Flex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export const FeatureHeaderDefault: React.FC<FeatureHeaderDefaultProps> = ({
</Text>

{subheadline && (
// FIXME: `property 'size' is missing
// @ts-ignore
<HTML variant="subtitle" textAlign="center" html={subheadline} />
)}
</Join>
Expand Down
4 changes: 0 additions & 4 deletions src/v2/Apps/Feature/FeatureApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,10 @@ const FeatureApp: React.FC<FeatureAppProps> = ({ feature }) => {
<Col sm={8} mx="auto">
<Join separator={<Spacer my={3} />}>
{feature.description && (
// FIXME: `property 'size' is missing
// @ts-ignore
<HTML variant="text" html={feature.description} />
)}

{feature.callout && (
// FIXME: `property 'size' is missing
// @ts-ignore
<HTML variant="title" html={feature.callout} />
)}
</Join>
Expand Down

0 comments on commit dc295cf

Please sign in to comment.