From 17fb4d5b5703df2a86be0c2f1210c1327debc033 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 16 Oct 2018 16:38:05 +0100 Subject: chore: Remove unused prop --- packages/react-shared/src/components/markdown_section.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'packages/react-shared') diff --git a/packages/react-shared/src/components/markdown_section.tsx b/packages/react-shared/src/components/markdown_section.tsx index 9f5855d16..d5de324c3 100644 --- a/packages/react-shared/src/components/markdown_section.tsx +++ b/packages/react-shared/src/components/markdown_section.tsx @@ -19,7 +19,6 @@ export interface MarkdownSectionProps { markdownContent: string; headerSize?: HeaderSizes; githubLink?: string; - shouldReformatTitle?: boolean; alternativeSectionTitle?: string; } @@ -36,7 +35,6 @@ export interface MarkdownSectionState { export class MarkdownSection extends React.Component { public static defaultProps: Partial = { headerSize: HeaderSizes.H3, - shouldReformatTitle: true, }; constructor(props: MarkdownSectionProps) { super(props); @@ -48,9 +46,7 @@ export class MarkdownSection extends React.Component