Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Minor TS & UI improvements

Blue Mousead9edaa8e930
diff --git a/app/pages/Project/View/components/TBPeriodSelector.tsx b/app/pages/Project/View/components/TBPeriodSelector.tsx
index 541dec3d5..bcb9f896c 100644
--- a/app/pages/Project/View/components/TBPeriodSelector.tsx
+++ b/app/pages/Project/View/components/TBPeriodSelector.tsx
@@ -45,7 +45,7 @@ const TBPeriodSelector = ({
<Popover className='relative'>
{({ open }) => (
<>
- <PopoverButton className='group inline-flex w-full px-3 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>
+ <PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>
<CalendarDaysIcon className='mr-1 h-5 w-5' />
<span>{title}</span>
<ChevronDownIcon
diff --git a/app/pages/Project/View/components/UserFlow.tsx b/app/pages/Project/View/components/UserFlow.tsx
index e93bf8026..da4cab40a 100644
--- a/app/pages/Project/View/components/UserFlow.tsx
+++ b/app/pages/Project/View/components/UserFlow.tsx
@@ -10,6 +10,7 @@ import _isEmpty from 'lodash/isEmpty'
import { getUserFlowCacheKey } from 'redux/constants'
import { getUserFlow } from 'api'
import Loader from 'ui/Loader'
+import { IFilter } from '../interfaces/traffic'
const mapStateToProps = (state: StateType) => ({
userFlowAscendingCache: state.ui.cache.userFlowAscending,
@@ -65,7 +66,7 @@ interface IJSXUserFlow {
setUserFlowDescending: (data: IUserFlow, id: string, pd: string, fltr: any) => void
generateError: (message: string) => void
t: typeof i18next.t
- filters: string[]
+ filters: IFilter[]
setReversed: () => void
projectPassword?: string
}