diff --git a/weekdays.html b/weekdays.html
index 6eb6703..a43ee6a 100644
--- a/weekdays.html
+++ b/weekdays.html
@@ -170,7 +170,7 @@
Friday
dates = window.dates;
const distinctNames = [
- ...new Set(arrayOfObjects.map((obj) => dates.assigned)),
+ ...new Set(dates.map((obj) => dates.assigned)),
];
//##dates##