Skip to content

Commit

Permalink
template es6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
trash-and-fire committed May 5, 2022
1 parent f263a5a commit 2b9f398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/package/components/chart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

<div
{...attrs}
use:element={container?.ref}
use:element={container ? container.ref : undefined}
use:chart={{
options,
onCrosshairMove: handleCrosshairMove,
Expand Down

0 comments on commit 2b9f398

Please sign in to comment.