diff --git a/src/resizer/resizer.ts b/src/resizer/resizer.ts index 0db13e1af5..aa1fb09e0c 100644 --- a/src/resizer/resizer.ts +++ b/src/resizer/resizer.ts @@ -61,10 +61,6 @@ export default class Resizer { }, public readonly config?: C, ) { - if (!container) { - throw new Error("Resizer requires a non-null `container` arg"); - } - this.classNames = { handle: "resizer-handle", reverse: "resizer-reverse",