Description
The random() function in MainChart is defined to accept no parameters but is being called with arguments that are completely ignored, leading to incorrect chart data generation.
Location
File: src/views/dashboard/MainChart.js
Function definition: Line 29
Incorrect usage: Lines 46-52, 63-69
Problem
The random() function is defined as:
const random = () => Math.round(Math.random() * 100)