Skip to content

Build your personal knowledge base with Trilium Notes

chore(website/i18n): add t to list of deps

Elian Doran615c783fe3aa
diff --git a/apps/website/src/components/DownloadButton.tsx b/apps/website/src/components/DownloadButton.tsx
index 150f59b485..883adcdd1a 100644
--- a/apps/website/src/components/DownloadButton.tsx
+++ b/apps/website/src/components/DownloadButton.tsx
@@ -17,7 +17,7 @@ export default function DownloadButton({ big }: DownloadButtonProps) {
const [ recommendedDownload, setRecommendedDownload ] = useState<RecommendedDownload | null>();
useEffect(() => {
getRecommendedDownload(t)?.then(setRecommendedDownload);
- }, []);
+ }, [ t ]);
return (recommendedDownload &&
<>