diff --git a/frontend/src/components/toolbar/tag-files-toolbar.js b/frontend/src/components/toolbar/tag-files-toolbar.js index e4aa72be661..a049210d423 100644 --- a/frontend/src/components/toolbar/tag-files-toolbar.js +++ b/frontend/src/components/toolbar/tag-files-toolbar.js @@ -100,7 +100,7 @@ const TagFilesToolbar = ({ currentRepoInfo }) => { return () => { unsubscribeSelectedFileIds && unsubscribeSelectedFileIds(); }; - }, []); + }, [eventBus]); return (