medama-io / medama

Self-hostable, privacy-focused website analytics.
https://oss.medama.io
327 stars 6 forks source link

fix(dashboard): reset range state when navigating to different periods or websites #106

Closed ayuhito closed 1 month ago

ayuhito commented 1 month ago

This fixes a small state related bug to the new date range picker where state persisted after navigating to a different website in the quick switcher or selecting a different time period.

There are some minor refactors to remove the @mantine/hooks package in the process in order to slowly migrate away from the component library.