料理リストで空白のものが表示されるのを修正

feature-frontend-design-fix
Masaharu.Kato 4 months ago
parent c4fb41e321
commit c475afe2ae
  1. 2
      frontend/src/pages/RecipeList.tsx

@ -49,7 +49,7 @@ const RecipeList: React.FC = () => {
maxServings: 0 // 最大調理可能数
}
// すべての料理リスト
const [allRecipes, setAllRecipes] = useState<RecipeWithId[]>([EMPTY_RECIPEWITHID, EMPTY_RECIPEWITHID]);
const [allRecipes, setAllRecipes] = useState<RecipeWithId[]>();
const [openAddByRecipeDialog, setOpenAddByRecipeDialog] = useState(false);

Loading…
Cancel
Save