From faf99e3c4d5e87c596b8025f365aadbcf9c9bf28 Mon Sep 17 00:00:00 2001 From: Pedro Pereira <109802203+pedrofp4444@users.noreply.github.com> Date: Sun, 17 Dec 2023 22:09:51 +0000 Subject: [PATCH] fix: remove temporary warning (#218) --- apps/app/pages/events.js | 10 +--------- apps/app/pages/index.tsx | 9 +-------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/apps/app/pages/events.js b/apps/app/pages/events.js index fbd16f96..e9bd9a7a 100644 --- a/apps/app/pages/events.js +++ b/apps/app/pages/events.js @@ -1,4 +1,4 @@ -import { Alert, Col, Row, Typography } from "antd"; +import { Col, Row, Typography } from "antd"; import AppLayout from "~/layouts/AppLayout"; import { withAuth } from "~/components/Auth"; import Event from "~/components/Event"; @@ -13,13 +13,6 @@ function Events() { return ( - Eventos {events?.map((info) => ( @@ -30,7 +23,6 @@ function Events() { ); - 1; } export default withAuth(Events); diff --git a/apps/app/pages/index.tsx b/apps/app/pages/index.tsx index cc0e80de..1cfbdd9f 100644 --- a/apps/app/pages/index.tsx +++ b/apps/app/pages/index.tsx @@ -1,5 +1,5 @@ import { useEffect, useState } from "react"; -import { Alert, Button, Col, Popconfirm, Row, Typography } from "antd"; +import { Button, Col, Popconfirm, Row, Typography } from "antd"; import { useAuth } from "@coderdojobraga/ui"; import { withAuth } from "~/components/Auth/withAuth"; import AppLayout from "~/layouts/AppLayout"; @@ -70,13 +70,6 @@ function Dashboard() { return ( <> - Painel Principal Próximo Evento