Skip to content

Commit d7bdd35

Browse files
ankitroxhussain-t
authored andcommitted
Remove unused legacy dashboard trigger.
1 parent c12ed33 commit d7bdd35

File tree

1 file changed

+0
-9
lines changed
  • assets/js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4

1 file changed

+0
-9
lines changed

assets/js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import {
3333
UI_ALL_TRAFFIC_LOADED,
3434
} from '@/js/modules/analytics-4/datastore/constants';
3535
import { MODULE_SLUG_ANALYTICS_4 } from '@/js/modules/analytics-4/constants';
36-
import { DAY_IN_SECONDS } from '@/js/util';
3736
import { isZeroReport } from '@/js/modules/analytics-4/utils';
3837
import { CORE_USER } from '@/js/googlesitekit/datastore/user/constants';
3938
import { CORE_UI } from '@/js/googlesitekit/datastore/ui/constants';
@@ -46,7 +45,6 @@ import DimensionTabs from './DimensionTabs';
4645
import UserDimensionsPieChart from './UserDimensionsPieChart';
4746
import useAllTrafficWidgetReport from '@/js/modules/analytics-4/hooks/useAllTrafficWidgetReport';
4847
import useViewOnly from '@/js/hooks/useViewOnly';
49-
import SurveyViewTrigger from '@/js/components/surveys/SurveyViewTrigger';
5048

5149
function DashboardAllTrafficWidgetGA4( props ) {
5250
const { Widget, WidgetReportError } = props;
@@ -285,13 +283,6 @@ function DashboardAllTrafficWidgetGA4( props ) {
285283
</Cell>
286284
</Row>
287285
</Grid>
288-
289-
{ ! viewOnly && (
290-
<SurveyViewTrigger
291-
triggerID="view_ga4_dashboard"
292-
ttl={ DAY_IN_SECONDS }
293-
/>
294-
) }
295286
</Widget>
296287
);
297288
}

0 commit comments

Comments
 (0)