diff --git a/src/index.tsx b/src/index.tsx index bf51b1007..d9ad8c138 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -590,29 +590,6 @@ class App extends React.Component<{}, AppState> { } }; - private renderOption({ - type, - children - }: { - type: string; - children: React.ReactNode; - }) { - return ( - - ); - } - public render() { return (
{ >
Shapes - {SHAPES.map(shape => - this.renderOption({ type: shape.value, children: shape.label }) - )} + {SHAPES.map(({ value, label }) => ( + + ))}