mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 01:01:45 +00:00
Don't require a non-null container
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -61,10 +61,6 @@ export default class Resizer<C extends IConfig = IConfig> {
|
|||||||
},
|
},
|
||||||
public readonly config?: C,
|
public readonly config?: C,
|
||||||
) {
|
) {
|
||||||
if (!container) {
|
|
||||||
throw new Error("Resizer requires a non-null `container` arg");
|
|
||||||
}
|
|
||||||
|
|
||||||
this.classNames = {
|
this.classNames = {
|
||||||
handle: "resizer-handle",
|
handle: "resizer-handle",
|
||||||
reverse: "resizer-reverse",
|
reverse: "resizer-reverse",
|
||||||
|
|||||||
Reference in New Issue
Block a user