Skip to content

Commit

Permalink
Remove unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-karlsson committed Mar 22, 2024
1 parent a53bf41 commit c32b512
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Setup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import React, { useState } from "react";
import FoodButton from "./FoodButton";

function Setup() {
const [topic, setTopic] = useState(""); // Added state for the topic
const [topic, setTopic] = useState("");
const [selectedFoods, setSelectedFoods] = useState([]);
const [isTopicMissing, setIsTopicMissing] = useState(false); // State to track if topic is missing
const [areFoodsMissing, setAreFoodsMissing] = useState(false); // State to track if foods are missing
const [isTopicMissing, setIsTopicMissing] = useState(false);
const [areFoodsMissing, setAreFoodsMissing] = useState(false);

const foods = [
"banana",
Expand Down

0 comments on commit c32b512

Please sign in to comment.