From a7c29d518b492d130b7b955dbdfd0c10b385ccb6 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Wed, 22 Oct 2025 13:41:01 +0100 Subject: [PATCH] remove DashNav barrel file --- eslint-suppressions.json | 5 ----- public/app/features/dashboard/components/DashNav/index.ts | 2 -- public/app/features/dashboard/containers/DashboardPage.tsx | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 public/app/features/dashboard/components/DashNav/index.ts diff --git a/eslint-suppressions.json b/eslint-suppressions.json index 0122088b621..a6fb9a9cee0 100644 --- a/eslint-suppressions.json +++ b/eslint-suppressions.json @@ -2403,11 +2403,6 @@ "count": 1 } }, - "public/app/features/dashboard/components/DashNav/index.ts": { - "no-barrel-files/no-barrel-files": { - "count": 1 - } - }, "public/app/features/dashboard/components/DashboardPrompt/DashboardPrompt.test.tsx": { "@typescript-eslint/no-explicit-any": { "count": 1 diff --git a/public/app/features/dashboard/components/DashNav/index.ts b/public/app/features/dashboard/components/DashNav/index.ts deleted file mode 100644 index be07fd0d2a3..00000000000 --- a/public/app/features/dashboard/components/DashNav/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -import DashNav from './DashNav'; -export { DashNav }; diff --git a/public/app/features/dashboard/containers/DashboardPage.tsx b/public/app/features/dashboard/containers/DashboardPage.tsx index 21f55b6d8e0..e591f8e61c5 100644 --- a/public/app/features/dashboard/containers/DashboardPage.tsx +++ b/public/app/features/dashboard/containers/DashboardPage.tsx @@ -23,7 +23,7 @@ import { StoreState } from 'app/types/store'; import { cancelVariables, templateVarsChangedInUrl } from '../../variables/state/actions'; import { findTemplateVarChanges } from '../../variables/utils'; -import { DashNav } from '../components/DashNav'; +import DashNav from '../components/DashNav/DashNav'; import { DashboardLoading } from '../components/DashboardLoading/DashboardLoading'; import { DashboardPrompt } from '../components/DashboardPrompt/DashboardPrompt'; import { DashboardSettings } from '../components/DashboardSettings';