src/applications/personalization/dashboard/useDowntimeApproachingRenderMethod.jsx
Function useDowntimeApproachingRenderMethod
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function useDowntimeApproachingRenderMethod() {
const [modalDismissed, setModalDismissed] = useState(false);
return (downtime, children) => {
if (downtime.status === externalServiceStatus.downtimeApproaching) {