Skip to content

Commit

Permalink
Daily
Browse files Browse the repository at this point in the history
  • Loading branch information
juaneortiz1 authored May 7, 2024
1 parent b63b913 commit f82499d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/secondary/Daily.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ const Daily = ({ day, handleSubmmit }) => {
useEffect(() => {
const fetchOutfitsForDay = async () => {
try {
const response = await axios.get(`${apiUrl}day/${day}`);
const response = await axios.get(`${apiUrl}user/clothings/aed01e26-1d1b-479e-a2aa-c8acc92f03c0`);
setOutfits(response.data.outfits);
} catch (error) {
console.error('Error fetching outfits for the day:', error);
}
};

fetchOutfitsForDay();
}, [apiUrl, day]);
}, [apiUrl]);


const handleSelectOutfit = (index) => {
Expand Down

0 comments on commit f82499d

Please sign in to comment.