From bff21786accab5907ed1ae44c38f4a343920396b Mon Sep 17 00:00:00 2001 From: Lola Date: Wed, 17 Jul 2024 20:06:05 -0500 Subject: [PATCH] i had it right the first time, also make it prettier --- src/pages/events/[event]/notification.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/events/[event]/notification.js b/src/pages/events/[event]/notification.js index f3c4c07..7bba158 100644 --- a/src/pages/events/[event]/notification.js +++ b/src/pages/events/[event]/notification.js @@ -2,10 +2,11 @@ import React, { useState } from "react"; import Page from "../../../components/Page"; import Breadcrumbs from "../../../components/Breadcrumbs"; import { useToasts } from "@codeday/topo/utils"; -import {Heading, Text, TextInput, Textarea, Checkbox, Button} from "@codeday/topo/Atom"; +import {Heading, Text, TextInput, Textarea, Checkbox, Button, FormErrorMessage} from "@codeday/topo/Atom"; import {getSession} from "next-auth/react"; import {SendNotification, getEventQuery} from "./notification.gql" import {useFetcher, getFetcher} from "../../../fetch"; +import Alert from "../../../components/Alert"; const MAX_SMS_LENGTH = 280 @@ -38,15 +39,16 @@ export default function Notification({event}) { mb={2} />