mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix(web): remove none filter for server deploy
This commit is contained in:
@@ -1826,15 +1826,7 @@ const StackBuilder = () => {
|
|||||||
TECH_OPTIONS[categoryKey as keyof typeof TECH_OPTIONS] || [];
|
TECH_OPTIONS[categoryKey as keyof typeof TECH_OPTIONS] || [];
|
||||||
const categoryDisplayName = getCategoryDisplayName(categoryKey);
|
const categoryDisplayName = getCategoryDisplayName(categoryKey);
|
||||||
|
|
||||||
const filteredOptions = categoryOptions.filter((opt) => {
|
const filteredOptions = categoryOptions;
|
||||||
if (
|
|
||||||
categoryKey === "serverDeploy" &&
|
|
||||||
stack.runtime === "workers"
|
|
||||||
) {
|
|
||||||
return opt.id === "wrangler" || opt.id === "alchemy";
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
|
|
||||||
if (filteredOptions.length === 0) return null;
|
if (filteredOptions.length === 0) return null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user