Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove temporary warning #218

Merged
merged 1 commit into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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