import React from 'react'; import { ContentSection } from 'react-benzin'; import { Grid, Link } from '@material-ui/core'; import EventCard from '../../components/EventCard/EventCard'; import { useEvents } from '../../hooks/APIClient'; import EventForm from './EventForm'; import LoginForm from './LoginForm'; import { useAuth } from '../../hooks/useAuth'; const BsuFantomSection: React.FC = () => { const { data: events, mutate } = useEvents(); const { isAuthenticated } = useAuth(); return (

Schedule your offline EDUFPMI conference attendance

{ isAuthenticated ? ( <> {events?.map((event, index) => ( ))} ) : (

In order to use bsu-fantom you must log in using your EDUFPMI credentials:

) }
); }; export default BsuFantomSection;