Skip to content

Commit

Permalink
fix: remove temporary warning (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrofp4444 authored Dec 17, 2023
1 parent b14f90e commit faf99e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
10 changes: 1 addition & 9 deletions apps/app/pages/events.js
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -13,13 +13,6 @@ function Events() {

return (
<AppLayout>
<Alert
message="A sessão do dia 16 de dezembro será realizada às 14:30."
type="warning"
showIcon
closable
style={{ marginBottom: "1rem" }}
/>
<Title level={2}>Eventos</Title>
<Row className={styles.row} align="top" justify="start" gutter={[16, 16]}>
{events?.map((info) => (
Expand All @@ -30,7 +23,6 @@ function Events() {
</Row>
</AppLayout>
);
1;
}

export default withAuth(Events);
9 changes: 1 addition & 8 deletions apps/app/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -70,13 +70,6 @@ function Dashboard() {
return (
<>
<AppLayout>
<Alert
message="A sessão do dia 16 de dezembro será realizada às 14:30."
type="warning"
showIcon
closable
style={{ marginBottom: "1rem" }}
/>
<Title level={2}>Painel Principal</Title>
<Row justify="space-between" gutter={8}>
<Title level={3}>Próximo Evento</Title>
Expand Down

0 comments on commit faf99e3

Please sign in to comment.