forked from external-repos/squoosh
Don't restrict drag & drop to images (so it works with wp2 & JXL)
This commit is contained in:
@@ -115,11 +115,7 @@ export default class App extends Component<Props, State> {
|
||||
|
||||
return (
|
||||
<div class={style.app}>
|
||||
<file-drop
|
||||
accept="image/*"
|
||||
onfiledrop={this.onFileDrop}
|
||||
class={style.drop}
|
||||
>
|
||||
<file-drop onfiledrop={this.onFileDrop} class={style.drop}>
|
||||
{showSpinner ? (
|
||||
<loading-spinner class={style.appLoader} />
|
||||
) : isEditorOpen ? (
|
||||
|
||||
Reference in New Issue
Block a user