mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Don't require a non-null container
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
60e47c759d
commit
9377548630
1 changed files with 0 additions and 4 deletions
|
@ -61,10 +61,6 @@ export default class Resizer<C extends IConfig = IConfig> {
|
|||
},
|
||||
public readonly config?: C,
|
||||
) {
|
||||
if (!container) {
|
||||
throw new Error("Resizer requires a non-null `container` arg");
|
||||
}
|
||||
|
||||
this.classNames = {
|
||||
handle: "resizer-handle",
|
||||
reverse: "resizer-reverse",
|
||||
|
|
Loading…
Reference in a new issue