diff --git a/packages/example-app-base/src/components/ExampleCard/ExampleCard.styles.ts b/packages/example-app-base/src/components/ExampleCard/ExampleCard.styles.ts index 9f84b46103cd8..dab6ca1753d6d 100644 --- a/packages/example-app-base/src/components/ExampleCard/ExampleCard.styles.ts +++ b/packages/example-app-base/src/components/ExampleCard/ExampleCard.styles.ts @@ -146,7 +146,6 @@ export const getStyles: IStyleFunction = const { className, examples, exampleKnobs, sectionName, readableSectionName, style, id } = props; const [activeEditorTitle, setActiveEditorTitle] = React.useState(''); - const handleEditorToggle = (card: string) => { - setActiveEditorTitle(card); - }; - return (
@@ -32,7 +28,11 @@ export const ExamplesSection: React.StatelessComponent = const { view, ...exampleProps } = example; return (
- + {view}