bjcarlson42 / benjamincarlson.io

My personal website built with Next.js, Chakra UI, Firebase, and next-mdx-remeote.
https://benjamincarlson.io
MIT License
141 stars 22 forks source link

Incorrect view or like count? #32

Closed farhan2077 closed 1 year ago

farhan2077 commented 3 years ago

The blog https://www.benjamincarlson.io/blog/using-react-useeffect in your website has more likes than views. Is this a possible bug or am I missing something? I have attached a screenshot below. image

bjcarlson42 commented 3 years ago

Thanks for bringing this up. I manually fixed the issue by resetting the likes. It looks like this is a bug. The user can manually type in the url (with the api) and increment the likes over and over. Anyone is welcome to create a pr and try to fix this. I don't have time at the moment but I'll definitely look more into this.