client/app/bundles/course/users/pages/UserShow/index.tsx
Function UserShow
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const UserShow: FC<Props> = () => {
const [isLoading, setIsLoading] = useState(true);
const dispatch = useAppDispatch();
const { userId } = useParams();
const user = useAppSelector((state) => getUserEntity(state, +userId!));
- Create a ticketCreate a ticket