app/components/modules/registration/RegistrationPanel.tsx
Function RegistrationPanel
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const RegistrationPanel: React.FC = () => {
const [route, setRoute] = useState('');
useEffect(() => {
const pathName = window && window.location.pathname;
setRoute(pathName);