EscolaLMS/Front

View on GitHub
src/pages/events/index.tsx

Summary

Maintainability
A
3 hrs
Test Coverage
import Layout from "@/components/_App/Layout";
import { useTranslation } from "react-i18next";
import Container from "@/components/Common/Container";
import EventsProvider from "@/components/Events/List/EventsProvider";
import EventsContainer from "@/components/Events/List/EventsContainer";

const EventsPage = () => {
  const { t } = useTranslation();
  return (
    <Layout metaTitle={t("EventsPage.Events")}>
      <EventsProvider>
        <section className="events-page">
          <Container>
            <EventsContainer />
          </Container>
        </section>
      </EventsProvider>
    </Layout>
  );
};

export default EventsPage;