make new announcements global

This commit is contained in:
Michael Genson
2026-03-28 17:17:46 +00:00
parent b911be696a
commit 3625849151

View File

@@ -23,6 +23,8 @@ const allAnnouncements: Announcement[] = Object.entries(_announcementsUnsorted)
meta: mod.meta,
}));
const newAnnouncements = shallowRef<Announcement[]>([]);
export function useAnnouncements() {
const auth = useMealieAuth();
const { household } = useHouseholdSelf();