I am using nuxt 3 and I want to implement a filter method by comparing dates in my array of objects to a future date then returning an array satisfying the condition like below

I thought of using array.uniq but vite throws an error that it is not found

Can this be an internal issue?
I am using nuxt 3 and I want to implement a filter method by comparing dates in my array of objects to a future date then returning an array satisfying the condition like below

I thought of using array.uniq but vite throws an error that it is not found

Can this be an internal issue?