mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-18 20:27:20 -04:00
fixing console errors
This commit is contained in:
@@ -23,12 +23,6 @@
|
||||
var width = chartContainer.clientWidth;
|
||||
var height = 64;
|
||||
|
||||
// Ensure the width is set correctly
|
||||
if (width === 0) {
|
||||
console.error('Chart container width is 0, cannot set SVG width.');
|
||||
return;
|
||||
}
|
||||
|
||||
svg.attr("width", width).attr("height", height);
|
||||
|
||||
var x = d3.scaleLinear()
|
||||
|
||||
Reference in New Issue
Block a user