Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
fix: tsc build
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuel Suriano committed Sep 27, 2021
1 parent ae66b7b commit 79bcb42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gatsby-theme-mate/src/components/MarkdownComponents.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { ReactNode } from 'react';
import { Text } from 'rebass';
import { Components } from 'react-markdown';
import { Components as MarkdownComponents } from 'react-markdown';
import styled from 'styled-components';

const StyledLink = styled.a`
Expand Down Expand Up @@ -78,7 +78,7 @@ const MarkdownLink = ({ href, children }: LinkProps) => {
);
};

const Components: Components = {
const Components: MarkdownComponents = {
p: MarkdownParagraph,
ul: MarkdownList,
li: MarkdownListItem,
Expand Down

0 comments on commit 79bcb42

Please sign in to comment.