Fix render on small screens

This commit is contained in:
Piotr Rogowski 2021-12-23 00:28:04 +01:00
parent 9f37a78c47
commit 931b1a0eae
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
1 changed files with 1 additions and 1 deletions

View File

@ -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 <LandscapeNotice />;