src/components/landingpage/LandingPage.jsx
Function LandingPage
has 56 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
function LandingPage() {
const classes = useStyles();
const actions = useContext(ActionsContext);
const numberOfGrants = useSelector((state) => state.grants.grants.length);
const { currentUser, isLoading } = useSelector((state) => state.user);