diff --git a/components/Editor.js b/components/Editor.js index 3895d82..f190629 100644 --- a/components/Editor.js +++ b/components/Editor.js @@ -400,15 +400,7 @@ class Editor extends React.Component { )} - + + ) +} + function isImage(file) { return file.type.split('/')[0] === 'image' }