Skip to content

Commit

Permalink
fix(announcement): have 1 announcemnt by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kishore03109 committed Sep 21, 2023
1 parent b9256bd commit 7f5d2c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/layouts/EditHomepage/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export const ANNOUNCEMENT_BLOCK = {
title: "Announcements",
id: "announcements",
subtitle: "Add a list of announcements with dates",
announcement_items: [] as AnnouncementSectionType[],
announcement_items: [
getDefaultAnnouncementSection(),
] as AnnouncementSectionType[],
} as const

export const INFOBAR_SECTION = {
Expand Down

0 comments on commit 7f5d2c8

Please sign in to comment.