mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix lint errors
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -603,13 +603,6 @@ export const isStackDefault = <K extends keyof StackState>(
|
||||
}
|
||||
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user