src/applications/login/components/MockAuthButton.jsx
Function MockAuthButton
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function MockAuthButton() {
const [authType, setAuthType] = useState(CSP_IDS.LOGIN_GOV);
const [mockLoginError, setMockLoginError] = useState('');
return [environments.LOCALHOST, environments.VAGOVDEV].includes(
environment.getRawBuildtype(),