From b9256bd23e618fa2b5f8b08b28d37c67e09d4488 Mon Sep 17 00:00:00 2001 From: Kishore <42832651+kishore03109@users.noreply.github.com> Date: Wed, 20 Sep 2023 20:01:56 +0800 Subject: [PATCH] fix(announcement): copy changes --- src/layouts/components/Homepage/AnnouncementBody.tsx | 6 ++---- src/layouts/components/Homepage/AnnouncementSection.tsx | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/layouts/components/Homepage/AnnouncementBody.tsx b/src/layouts/components/Homepage/AnnouncementBody.tsx index ff2bff923f..57ac77083c 100644 --- a/src/layouts/components/Homepage/AnnouncementBody.tsx +++ b/src/layouts/components/Homepage/AnnouncementBody.tsx @@ -58,9 +58,7 @@ export const AnnouncementBody = ({ - - Announcements - + Announcements {`You can display up to ${MAX_ANNOUNCEMENTS} announcements at a time. Newly added announcements are shown on the top of the list`} @@ -236,7 +234,7 @@ export const AnnouncementBody = ({ leftIcon={} isDisabled={announcementItems.length >= MAX_ANNOUNCEMENTS} > - Add Announcement + Add announcement ) diff --git a/src/layouts/components/Homepage/AnnouncementSection.tsx b/src/layouts/components/Homepage/AnnouncementSection.tsx index 7ca2f2f279..b6c4622877 100644 --- a/src/layouts/components/Homepage/AnnouncementSection.tsx +++ b/src/layouts/components/Homepage/AnnouncementSection.tsx @@ -1,4 +1,4 @@ -import { FormControl } from "@chakra-ui/react" +import { Divider, FormControl } from "@chakra-ui/react" import { Button, FormErrorMessage, @@ -51,6 +51,7 @@ export const AnnouncementSection = ({ /> {errors.title} + {children}