Skip to content

Commit

Permalink
fix: updated D3 chart initialization on eventUsageMetrics.js (#55) (#56)
Browse files Browse the repository at this point in the history
* fix: updated D3 chart initialization on eventUsageMetrics.js

* fix: prettier formatting in js file

---------

Co-authored-by: kknapp1 <[email protected]>
  • Loading branch information
kknapp1 and kknapp1 authored Jan 25, 2025
1 parent d546d28 commit 6308dde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default class EventUsageMetrics extends LightningElement {
}

const rootElement = this.template.querySelector('.timeline');
rootElement.childNodes.forEach((childNode) => childNode.remove());
d3.select(rootElement).selectAll('*').remove();

// Add SVG element
const svgElement = d3
Expand Down

0 comments on commit 6308dde

Please sign in to comment.