fix(lint): Add missing tCommon dependency to useEffect

Resolves React hooks exhaustive-deps warning by including tCommon translation function in the dependency array.
This commit is contained in:
Matthieu MALVACHE
2026-01-08 04:25:52 +01:00
parent 91b8a42fdd
commit a7176fefa0
+1 -1
View File
@@ -223,7 +223,7 @@ export default function Home() {
}
document.title = title;
}, [showComposer, composerMode, selectedEmail, selectedMailbox, mailboxes, t]);
}, [showComposer, composerMode, selectedEmail, selectedMailbox, mailboxes, t, tCommon]);
// Check auth on mount
useEffect(() => {