Skip to content

Commit

Permalink
removed unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
awitkowski0 committed Apr 23, 2024
1 parent 45b775e commit bdbc859
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
14 changes: 1 addition & 13 deletions frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,6 @@ function App() {
setGenres(newGenres);
}

function addMinYear(year) {
if (year < 1874 || year > 2019) year = 1874;
const newMin = year;
setMinYear(newMin);
}

function addMaxYear(year) {
if (year < 1874 || year > 2019) year = 2019;
const newMax = year;
setMaxYear(newMax);
}

async function getRecommendation() {
const dict = {
users: users,
Expand Down Expand Up @@ -185,7 +173,7 @@ function App() {
},
background: {
default: "#000000",
paper: "rgba(0, 0, 0, 0.4)",
paper: "rgba(0, 0, 0, 0.5)",
},
},
})
Expand Down
1 change: 0 additions & 1 deletion frontend/src/Recommendations.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
Button,
Card,
CardContent,
CardMedia,
Box,
Chip,
Slider,
Expand Down

0 comments on commit bdbc859

Please sign in to comment.