+ setFormData((prev) => ({
+ ...prev,
+ conditionsEnabled: {
+ ...prev.conditionsEnabled,
+ weekdays: !prev.conditionsEnabled.weekdays,
+ },
+ }))
+ }
+ >
+
+ {[1, 2, 3, 4, 5, 6, 0].map((day) => {
+ const selected = (formData.conditions.weekdays ?? []).includes(day);
+ return (
+
+ );
+ })}
+
+