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} />