diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index acca898..80fc9cb 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -467,7 +467,8 @@ export default function Home() { valid = true; for (let i = 0; i < w.length - 1; i += 2) { const pair = [w[i].id, w[i + 1]?.id]; - if (pair.includes("news") && pair.includes("breaking")) { + if ((pair.includes("news") && pair.includes("breaking")) || + (pair.includes("gallery") && pair.includes("gallery2"))) { valid = false; break; }