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!

remove redundant refresh buttons

Blue Mouse12771b21c617
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index e8efed932..714966109 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -3220,21 +3220,6 @@ const ViewProject = () => {
<ChevronLeftIcon className='mr-1 size-3' />
{t('project.backToFunnels')}
</Link>
- <button
- type='button'
- title={t('project.refreshStats')}
- onClick={refreshStats}
- className={cx(
- 'flex items-center text-sm text-gray-900 hover:text-gray-600 dark:text-gray-100 dark:hover:text-gray-300',
- {
- 'cursor-not-allowed': authLoading || dataLoading,
- },
- )}
- disabled={authLoading || dataLoading}
- >
- <RotateCw className='mr-1 size-4' />
- {t('project.refresh')}
- </button>
</div>
) : null}
</>
@@ -3425,21 +3410,6 @@ const ViewProject = () => {
<ChevronLeftIcon className='mr-1 size-3' />
{t('project.backToErrors')}
</Link>
- <button
- type='button'
- title={t('project.refreshStats')}
- onClick={refreshStats}
- className={cx(
- 'flex items-center text-sm text-gray-900 hover:text-gray-600 dark:text-gray-100 dark:hover:text-gray-300',
- {
- 'cursor-not-allowed': authLoading || dataLoading || errorLoading,
- },
- )}
- disabled={authLoading || dataLoading || errorLoading}
- >
- <RotateCw className='mr-1 size-4' />
- {t('project.refresh')}
- </button>
</div>
{activeError?.details ? <ErrorDetails details={activeError.details} /> : null}
{activeError?.chart ? (