📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
pages/Changelog to ts
kruzhambus9e3d0b05c0b8
diff --git a/src/pages/Changelog/index.jsx b/src/pages/Changelog/index.tsxsimilarity index 98%rename from src/pages/Changelog/index.jsxrename to src/pages/Changelog/index.tsxindex 4af51f34e..593e047c1 100644--- a/src/pages/Changelog/index.jsx+++ b/src/pages/Changelog/index.tsx@@ -165,8 +165,10 @@ const changelog = [},]-const Changelog = () => {- const { t } = useTranslation('common')+const Changelog = (): JSX.Element => {+ const { t }: {+ t: (key: string) => string+ } = useTranslation('common')return (<Title title={t('titles.changelog')}>@@ -202,6 +204,7 @@ const Changelog = () => {<div className='relative'><ul className='list-disc text-gray-900 dark:text-gray-50 relative top-7 lg:top-0 lg:block text-base mt-2 mb-4 prose prose-slate prose-a:relative prose-a:z-10 dark:prose-dark line-clamp-2'>{_map(item.changes, (change) => (+ // @ts-ignore<li key={change} className='whitespace-pre-line'>{change}</li>))}</ul>