Events in React,
Task
1. When user is search the location, sorting is based on location and not on start or end date,
we must change the code to sort on start or end date even if user has chosen the location.
2. I should see my post and all post, i created a radio button, with all post and my post and if user chooses my post, i change the query to accept that user who is logged in.
3. fixing the pagination (show first and previous link if page gte 0, and show next and last link if page lte totalpages)
4. fixing the select box (we passed value in select box and utilizes that value inside the select component)
5. session issue (we created a function which will delete some variables from localstorage and some from cookies, we also used js-cookie to remove item from cookies).