diff --git a/x-pack/plugins/security_solution/public/common/components/sessions_viewer/index.tsx b/x-pack/plugins/security_solution/public/common/components/sessions_viewer/index.tsx index ea00011489452..aad3ab6ab5e46 100644 --- a/x-pack/plugins/security_solution/public/common/components/sessions_viewer/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/sessions_viewer/index.tsx @@ -106,6 +106,7 @@ const SessionsViewComponent: React.FC = ({ dispatch( dataTableActions.initializeTGridSettings({ id: tableId, + title: i18n.SESSIONS_TITLE, defaultColumns: eventsDefaultModel.columns.map((c) => !tGridEnabled && c.initialWidth == null ? { @@ -146,15 +147,6 @@ const SessionsViewComponent: React.FC = ({ const unit = (c: number) => c > 1 ? i18n.TOTAL_COUNT_OF_SESSIONS : i18n.SINGLE_COUNT_OF_SESSIONS; - useEffect(() => { - dispatch( - dataTableActions.initializeTGridSettings({ - id: tableId, - title: i18n.SESSIONS_TITLE, - }) - ); - }, [dispatch, tableId]); - return (