From cfb9d3659bc2cfb5259703713a0339db2730fc3d Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Tue, 13 May 2025 11:59:22 +0530 Subject: [PATCH] fix lint errors --- apps/web/src/app/(home)/_components/stack-builder.tsx | 9 --------- apps/web/src/lib/constant.ts | 7 ------- 2 files changed, 16 deletions(-) diff --git a/apps/web/src/app/(home)/_components/stack-builder.tsx b/apps/web/src/app/(home)/_components/stack-builder.tsx index 6def9cd..4b600a0 100644 --- a/apps/web/src/app/(home)/_components/stack-builder.tsx +++ b/apps/web/src/app/(home)/_components/stack-builder.tsx @@ -1429,15 +1429,6 @@ const StackBuilder = () => { const isSelected = currentArray.includes(techId); if (catKey === "webFrontend") { - const webTypes = [ - "tanstack-router", - "react-router", - "tanstack-start", - "next", - "nuxt", - "svelte", - "solid", - ]; if (techId === "none") { nextArray = ["none"]; } else if (isSelected) { diff --git a/apps/web/src/lib/constant.ts b/apps/web/src/lib/constant.ts index c0bea51..4f81e66 100644 --- a/apps/web/src/lib/constant.ts +++ b/apps/web/src/lib/constant.ts @@ -603,13 +603,6 @@ export const isStackDefault = ( } if (key === "webFrontend" && stack.webFrontend) { - const currentWeb = (stack.webFrontend as string[]).filter( - (f) => !f.startsWith("native-") && f !== "none", - ); - const currentNative = (stack.webFrontend as string[]).filter((f) => - f.startsWith("native-"), - ); - if (key === "webFrontend") { const defaultWeb = (DEFAULT_STACK.webFrontend as string[]).sort(); const valueWeb = (value as string[]).sort();