Files
gitlab-instance-0a899031_no…/app/community/components/communityEvents.ts
2026-03-15 04:25:45 -05:00

9 lines
219 B
TypeScript

export const COMMUNITY_CHANGED_EVENT = "community:changed";
export function emitCommunityChanged() {
if (typeof window === "undefined") {
return;
}
window.dispatchEvent(new Event(COMMUNITY_CHANGED_EVENT));
}