From 9e092ca469130d33b2d9b472a1806c4408c751dd Mon Sep 17 00:00:00 2001 From: David Lechner Date: Mon, 16 May 2022 01:11:10 -0500 Subject: [PATCH] explorer: fix tree item button translations not updating --- src/explorer/Explorer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/explorer/Explorer.tsx b/src/explorer/Explorer.tsx index 2451e30d..6c93d943 100644 --- a/src/explorer/Explorer.tsx +++ b/src/explorer/Explorer.tsx @@ -349,7 +349,7 @@ const FileTree: React.VoidFunctionComponent = ({ i18n }) => { }, } as Record, ), - [files], + [i18n, files], ); const getItemTitle = useCallback((item: FileTreeItem) => item.data.fileName, []);