Fix render on small screens
This commit is contained in:
parent
9f37a78c47
commit
931b1a0eae
|
@ -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 />;
|
||||
|
|
Loading…
Reference in New Issue