Skip to content

Commit

Permalink
fix(announcement): copy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kishore03109 committed Sep 21, 2023
1 parent b099c88 commit b9256bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/layouts/components/Homepage/AnnouncementBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ export const AnnouncementBody = ({
<Box w="full">
<DragDropContext onDragEnd={onDragEnd}>
<Editable.Droppable editableId="announcement">
<Text mt="1.5rem" textStyle="h6">
Announcements
</Text>
<Text textStyle="h6">Announcements</Text>
<Text mt="0.5rem" textStyle="body-2" textColor="base.content.medium">
{`You can display up to ${MAX_ANNOUNCEMENTS} announcements at a time. Newly added
announcements are shown on the top of the list`}
Expand Down Expand Up @@ -236,7 +234,7 @@ export const AnnouncementBody = ({
leftIcon={<BiPlus fontSize="1.5rem" />}
isDisabled={announcementItems.length >= MAX_ANNOUNCEMENTS}
>
Add Announcement
Add announcement
</Button>
</Box>
)
Expand Down
3 changes: 2 additions & 1 deletion src/layouts/components/Homepage/AnnouncementSection.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormControl } from "@chakra-ui/react"
import { Divider, FormControl } from "@chakra-ui/react"
import {
Button,
FormErrorMessage,
Expand Down Expand Up @@ -51,6 +51,7 @@ export const AnnouncementSection = ({
/>
<FormErrorMessage>{errors.title}</FormErrorMessage>
</FormControl>
<Divider />

{children}
<Button
Expand Down

0 comments on commit b9256bd

Please sign in to comment.