From 17daf4e847fa29da67877e90065cccfa544831d7 Mon Sep 17 00:00:00 2001 From: Artem Tarasov Date: Wed, 7 Oct 2020 17:15:40 +0300 Subject: [PATCH] Web: Files: settings: fix warning --- .../Client/src/components/pages/Settings/Section/Body/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/ASC.Files/Client/src/components/pages/Settings/Section/Body/index.js b/products/ASC.Files/Client/src/components/pages/Settings/Section/Body/index.js index e32bd20bbc..7f419d28db 100644 --- a/products/ASC.Files/Client/src/components/pages/Settings/Section/Body/index.js +++ b/products/ASC.Files/Client/src/components/pages/Settings/Section/Body/index.js @@ -53,7 +53,7 @@ const SectionBodyContent = ({ useEffect(() => { const title = setting[0].toUpperCase() + setting.slice(1); setDocumentTitle(t(`${title}`)); - }, [setting, setDocumentTitle]); + }, [setting, t]); useEffect(() => { if (setting !== selectedTreeNode[0]) {