Skip to content

Commit

Permalink
[#noissue] fix view-servers scatter chart bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BillionaireDY authored and binDongKim committed May 13, 2024
1 parent 2f43c77 commit c49feca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const ScatterChartCore = React.forwardRef<ScatterChartHandle, ScatterChar
React.useEffect(() => {
const wrapperElement = wrapperRef.current;
const sc = scatterRef.current;
if (!sc && wrapperElement?.clientWidth) {
if (!sc && wrapperElement) {
scatterRef.current = new SC(wrapperElement as HTMLElement, getOption({ x, y }));

addEventListeners();
Expand Down

0 comments on commit c49feca

Please sign in to comment.