feat: add board group models and update related interfaces

This commit is contained in:
Abhimanyu Saharan
2026-02-07 20:29:50 +05:30
parent 7b5ee230f5
commit 88a5075684
170 changed files with 12372 additions and 3697 deletions

View File

@@ -8,7 +8,8 @@ const computeIsActive = () => {
document.visibilityState === "visible" &&
// `hidden` is a more widely-supported signal; keep both for safety.
!document.hidden;
const focused = typeof document.hasFocus === "function" ? document.hasFocus() : true;
const focused =
typeof document.hasFocus === "function" ? document.hasFocus() : true;
return visible && focused;
};
@@ -39,4 +40,3 @@ export function usePageActive(): boolean {
return active;
}