merge: stack v2 into dnd-kit grid

This commit is contained in:
Thomas Camlong committed 2026-08-08 20:16:04 +02:00
commit 93276abc8c
874 files changed
+86805 -31530

No files matched your search

-12
View File
@@ -6,7 +6,6 @@ import { usePathname } from "next/navigation";
import type { RouterOutputs } from "@homarr/api";
import { clientApi } from "@homarr/api/client";
import { getActiveQueryCacheBoardId, setActiveQueryCacheBoardId } from "@homarr/api/query-cache";
import { boardViewportWidthCookieName, getLayoutIdForViewportWidth } from "./layout-selection";
import { updateBoardName } from "./updater";
@@ -80,17 +79,6 @@ export const BoardProvider = ({
useEffect(() => {
persistViewportWidth(getViewportWidth());
}, []);
useEffect(() => {
setActiveQueryCacheBoardId(data.id);
return () => {
if (getActiveQueryCacheBoardId() === data.id) {
setActiveQueryCacheBoardId(null);
}
};
}, [data.id]);
return (
<BoardContext.Provider
value={{