bug on for loop fixed

This commit was merged in pull request #75.
This commit is contained in:
victorAnumudu
2023-03-07 10:47:18 +01:00
parent 0dfd9a6bee
commit 50668496cc
+1 -1
View File
@@ -91,7 +91,7 @@ export default function CalendarTable({ className }) {
if(reminder[i][0].start_date.split(' ')[0] == x.start_date.split(' ')[0]){
reminder[i].push(x)
break
}else{
}else if(reminder[i][0].start_date != x.start_date && i==reminder.length-1){
reminder.push([x])
break
}