diff --git a/site/examples/markdown-preview.js b/site/examples/markdown-preview.js index 8f7046d00..353c96eaf 100644 --- a/site/examples/markdown-preview.js +++ b/site/examples/markdown-preview.js @@ -118,24 +118,6 @@ const Leaf = ({ attributes, children, leaf }) => { ) } -const Decoration = props => { - const { children, attributes, leaf } = props - - switch (decoration.type) { - case 'blockquote': { - return ( - - {children} - - ) - } - - default: { - throw new Error(`Unknown markdown decoration type: "${decoration.type}"`) - } - } -} - const initialValue = [ { children: [