product url fixed

This commit was merged in pull request #41.
This commit is contained in:
victorAnumudu
2025-07-08 11:58:37 +01:00
parent f503422c42
commit a2843d97e2
6 changed files with 103 additions and 93 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ export default function EventCalendar({removeAfterDrop, eventList, activeCategor
useEffect(()=>{
// let newEventList = eventList?.map(item => ({...item, start: new Date(item?.start)}))
let newEventList = eventList?.filter(item => (Number(item.category) == Number(activeCategory)))?.map(item => ({...item, start: new Date(item?.start)}))
console.log('newEventList', newEventList)
// console.log('newEventList', newEventList)
setCurrentEvents(newEventList)
},[activeCategory])