From 931b1a0eae22799792e9e528bda6b9984ace0db8 Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Thu, 23 Dec 2021 00:28:04 +0100 Subject: [PATCH] Fix render on small screens --- src/components/Dialog/Curve.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Dialog/Curve.tsx b/src/components/Dialog/Curve.tsx index 95223f2..d92a9ad 100644 --- a/src/components/Dialog/Curve.tsx +++ b/src/components/Dialog/Curve.tsx @@ -86,7 +86,7 @@ const Curve = ({ points: { size: 9 }, }, }); - }, [width, xData, xLabel, xUnits, yData, yLabel, yUnits]); + }, [width, xData, xLabel, xUnits, yData, yLabel, yUnits, sm]); if (!sm) { return ;