Skip to content

Commit 7088bcf

Browse files
zeripathsilverwind6543
authored
Fix Dropzone following #15315 (#15353)
* Fix Dropzone following #15315 #15315 appears to have caused a change in the way Dropzone is imported - and it now produces a module rather than the constructor. This PR rather hackily just adds another Dropzone call to the result. Signed-off-by: Andrew Thornton <[email protected]> * use destructured export Co-authored-by: silverwind <[email protected]> Co-authored-by: 6543 <[email protected]>
1 parent 147826a commit 7088bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/dropzone.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default async function createDropzone(el, opts) {
2-
const [{default: Dropzone}] = await Promise.all([
2+
const [{Dropzone}] = await Promise.all([
33
import(/* webpackChunkName: "dropzone" */'dropzone'),
44
import(/* webpackChunkName: "dropzone" */'dropzone/dist/dropzone.css'),
55
]);

0 commit comments

Comments
 (0)