perf(traffic): avoid dynamic tooltip style rules

This commit is contained in:
Tunglies
2026-11-13 09:55:00 +08:00
parent 119ee86082
commit bbb0a0267f
@@ -1106,10 +1106,9 @@ export const EnhancedCanvasTrafficGraph = memo(
{tooltipData.visible && (
<Box
style={{ left: tooltipData.x + 8, top: tooltipData.y - 8 }}
sx={{
position: 'absolute',
left: tooltipData.x + 8,
top: tooltipData.y - 8,
bgcolor: theme.palette.background.paper,
border: 1,
borderColor: 'divider',