This commit is contained in:
fred 2025-07-08 15:42:28 -07:00
parent c8d58db08a
commit 6af9d8619f
6 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { addRecipe } from "../services/backend.js";
import { addRecipe } from "../services/frontendApi.js";
import { useNavigate } from "react-router-dom";
function AddRecipe() {

View file

@ -1,6 +1,6 @@
import CookbookRecipeTile from "../components/CookbookRecipeTile.tsx"
import { useState, useEffect } from "react";
import { getRecipes, deleteRecipe } from "../services/backend.js";
import { getRecipes, deleteRecipe } from "../services/frontendApi.js";
import { type Recipe } from "../types/Recipe"
function Cookbook() {

View file

@ -1,7 +1,7 @@
import RecipeCard from "../components/RecipeCard.tsx"
import { useParams } from "react-router-dom";
import { useState, useEffect } from "react";
import { getRecipeById } from "../services/backend.js";
import { getRecipeById } from "../services/frontendApi.js";
import { type Recipe } from "../types/Recipe"
function RecipePage() {