diff --git a/src/components/RecipeFilters.jsx b/src/components/RecipeFilters.jsx
index 902627f..4c0b0b8 100644
--- a/src/components/RecipeFilters.jsx
+++ b/src/components/RecipeFilters.jsx
@@ -33,34 +33,37 @@ function RecipeFilters({ onClose, inValues }) {
Sort By
-
- {sortOptions.fields.map((option) => (
-
+ sortBy: e.target.value,
+ });
+ }}
+ >
+ {sortOptions.fields.map((option) => (
+
))}
-
-
+ {
- setFilters({
- ...filters,
- sortAscending: !filters.sortAscending,
- });
+ setFilters({
+ ...filters,
+ sortAscending: !filters.sortAscending,
+ });
}}
- >
+ >
{filters.sortAscending ? : }
-
+