From 2affdeb2107790b661e40098d9635381a738122e Mon Sep 17 00:00:00 2001 From: fgrreloaded Date: Tue, 2 Sep 2025 23:16:18 +0530 Subject: [PATCH] fix(web): reorder save button --- .../(home)/new/_components/stack-builder.tsx | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/apps/web/src/app/(home)/new/_components/stack-builder.tsx b/apps/web/src/app/(home)/new/_components/stack-builder.tsx index 5335bbd..dcd01f4 100644 --- a/apps/web/src/app/(home)/new/_components/stack-builder.tsx +++ b/apps/web/src/app/(home)/new/_components/stack-builder.tsx @@ -1339,11 +1339,10 @@ const StackBuilder = () => { duration: 4000, }); } else if (compatibilityAnalysis.changes.length > 1) { - const message = `${ - compatibilityAnalysis.changes.length - } compatibility adjustments made:\n${compatibilityAnalysis.changes - .map((c) => `• ${c.message}`) - .join("\n")}`; + const message = `${compatibilityAnalysis.changes.length + } compatibility adjustments made:\n${compatibilityAnalysis.changes + .map((c) => `• ${c.message}`) + .join("\n")}`; toast.info(message, { duration: 5000, }); @@ -1951,6 +1950,15 @@ const StackBuilder = () => {
+ {lastSavedStack ? (
@@ -2095,10 +2094,10 @@ const StackBuilder = () => { const disabledReason = isDisabled ? getDisabledReason( - stack, - categoryKey as keyof typeof TECH_OPTIONS, - tech.id, - ) + stack, + categoryKey as keyof typeof TECH_OPTIONS, + tech.id, + ) : null; return (