Added New Imports
This commit is contained in:
@@ -494,7 +494,6 @@ const sizeProperty = isHorizontal ? "width" : "height";
|
||||
|
||||
// Avoid double initialization
|
||||
if (drawerElement.drawerInstance) {
|
||||
console.log(`Drawer "${id}" already initialized`);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -508,8 +507,6 @@ const sizeProperty = isHorizontal ? "width" : "height";
|
||||
bubbles: true,
|
||||
});
|
||||
drawerElement.dispatchEvent(initEvent);
|
||||
|
||||
console.log(`Drawer "${id}" initialized successfully`);
|
||||
} catch (error) {
|
||||
console.error(`Failed to initialize drawer "${id}":`, error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user