app/javascript/components/DashboardReportsDateRangePicker/index.js
Showing 1 of 1 total issue
Function DashboardReportsDateRangePicker
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const DashboardReportsDateRangePicker = () => { const [start, setStart] = useState(null) const [end, setEnd] = useState(null) const [showErrorMessage, setShowErrorMessage] = useState(false) const [msg, setMsg] = useState(null)