Skip to content

Commit

Permalink
Merge pull request #123 from WildCodeSchool-2023-09/general-fix
Browse files Browse the repository at this point in the history
commit fix
  • Loading branch information
Hkaiser45 authored Feb 8, 2024
2 parents 3b6b8d8 + 261c171 commit 1eec121
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Binary file not shown.
Binary file not shown.
7 changes: 2 additions & 5 deletions frontend/src/pages/Accueil.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Link } from "react-router-dom";
import Button from "@mui/material/Button";
import img from "../assets/Cooking.svg";
import "./style/Accueil.scss";

function Accueil() {
Expand All @@ -24,11 +25,7 @@ function Accueil() {
};
return (
<div className="body-content accueil-page">
<img
className="image_cuisto"
src="../src/assets/cooking.svg"
alt="image_cuisto"
/>
<img className="image_cuisto" src={img} alt="image_cuisto" />
<p>
Bienvenu sur notre site Eating-Nam-Nam. Il s'agit d'un site de cuisine
dans lequel vous créez vos propres recettes et pouvez accéder à celles
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/CreateRecipe.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export default function CreateRecipe() {

useEffect(() => {
const endpoints = [
"http://localhost:3310/api/ingredients",
"http://localhost:3310/api/tags",
`${import.meta.env.VITE_BACKEND_URL}/api/ingredients`,
`${import.meta.env.VITE_BACKEND_URL}/api/tags`,
];
Promise.all(
endpoints.map((endpoint) =>
Expand Down

0 comments on commit 1eec121

Please sign in to comment.