@@ -1339,11 +1339,10 @@ const StackBuilder = () => {
1339
1339
duration : 4000 ,
1340
1340
} ) ;
1341
1341
} else if ( compatibilityAnalysis . changes . length > 1 ) {
1342
- const message = `${
1343
- compatibilityAnalysis . changes . length
1344
- } compatibility adjustments made:\n${ compatibilityAnalysis . changes
1345
- . map ( ( c ) => `• ${ c . message } ` )
1346
- . join ( "\n" ) } `;
1342
+ const message = `${ compatibilityAnalysis . changes . length
1343
+ } compatibility adjustments made:\n${ compatibilityAnalysis . changes
1344
+ . map ( ( c ) => `• ${ c . message } ` )
1345
+ . join ( "\n" ) } `;
1347
1346
toast . info ( message , {
1348
1347
duration : 5000 ,
1349
1348
} ) ;
@@ -1951,6 +1950,15 @@ const StackBuilder = () => {
1951
1950
</ div >
1952
1951
1953
1952
< div className = "grid grid-cols-2 gap-2" >
1953
+ < button
1954
+ type = "button"
1955
+ onClick = { saveCurrentStack }
1956
+ className = "flex items-center justify-center gap-2 rounded-md border border-border bg-fd-background px-3 py-2 font-medium text-muted-foreground text-xs transition-all hover:border-muted-foreground/30 hover:bg-muted hover:text-foreground"
1957
+ title = "Save current preferences"
1958
+ >
1959
+ < Star className = "h-3.5 w-3.5" />
1960
+ Save
1961
+ </ button >
1954
1962
{ lastSavedStack ? (
1955
1963
< button
1956
1964
type = "button"
@@ -1964,15 +1972,6 @@ const StackBuilder = () => {
1964
1972
) : (
1965
1973
< div className = "h-9" />
1966
1974
) }
1967
- < button
1968
- type = "button"
1969
- onClick = { saveCurrentStack }
1970
- className = "flex items-center justify-center gap-2 rounded-md border border-border bg-fd-background px-3 py-2 font-medium text-muted-foreground text-xs transition-all hover:border-muted-foreground/30 hover:bg-muted hover:text-foreground"
1971
- title = "Save current preferences"
1972
- >
1973
- < Star className = "h-3.5 w-3.5" />
1974
- Save
1975
- </ button >
1976
1975
</ div >
1977
1976
1978
1977
< ShareDialog stackUrl = { getStackUrl ( ) } stackState = { stack } >
@@ -2095,10 +2094,10 @@ const StackBuilder = () => {
2095
2094
2096
2095
const disabledReason = isDisabled
2097
2096
? getDisabledReason (
2098
- stack ,
2099
- categoryKey as keyof typeof TECH_OPTIONS ,
2100
- tech . id ,
2101
- )
2097
+ stack ,
2098
+ categoryKey as keyof typeof TECH_OPTIONS ,
2099
+ tech . id ,
2100
+ )
2102
2101
: null ;
2103
2102
2104
2103
return (
0 commit comments