diff --git a/dotcom-rendering/src/components/EditionSwitcherBanner.importable.tsx b/dotcom-rendering/src/components/EditionSwitcherBanner.importable.tsx index 8701a0318a..c8d1bc3891 100644 --- a/dotcom-rendering/src/components/EditionSwitcherBanner.importable.tsx +++ b/dotcom-rendering/src/components/EditionSwitcherBanner.importable.tsx @@ -12,7 +12,7 @@ import { getZIndex } from '../lib/getZIndex'; import { hideEditionSwitcherBanner, useEditionSwitcherBanner, -} from '../lib/useUserPreferredEdition'; +} from '../lib/useEditionSwitcherBanner'; import XIcon from '../static/icons/x.svg'; const container = css` diff --git a/dotcom-rendering/src/components/FrontSubNav.importable.tsx b/dotcom-rendering/src/components/FrontSubNav.importable.tsx index e4a92b10c1..3a23c007fa 100644 --- a/dotcom-rendering/src/components/FrontSubNav.importable.tsx +++ b/dotcom-rendering/src/components/FrontSubNav.importable.tsx @@ -1,7 +1,7 @@ import { css } from '@emotion/react'; import { StraightLines } from '@guardian/source-development-kitchen/react-components'; import type { EditionId } from '../lib/edition'; -import { useEditionSwitcherBanner } from '../lib/useUserPreferredEdition'; +import { useEditionSwitcherBanner } from '../lib/useEditionSwitcherBanner'; import type { SubNavType } from '../model/extract-nav'; import { palette } from '../palette'; import { Section } from './Section'; diff --git a/dotcom-rendering/src/components/Titlepiece.importable.tsx b/dotcom-rendering/src/components/Titlepiece.importable.tsx index 4a998011e9..497d852cf6 100644 --- a/dotcom-rendering/src/components/Titlepiece.importable.tsx +++ b/dotcom-rendering/src/components/Titlepiece.importable.tsx @@ -10,7 +10,7 @@ import { } from '@guardian/source/foundations'; import type { EditionId } from '../lib/edition'; import { nestedOphanComponents } from '../lib/ophan-helpers'; -import { useEditionSwitcherBanner } from '../lib/useUserPreferredEdition'; +import { useEditionSwitcherBanner } from '../lib/useEditionSwitcherBanner'; import type { NavType } from '../model/extract-nav'; import { palette as themePalette } from '../palette'; import { diff --git a/dotcom-rendering/src/lib/useUserPreferredEdition.ts b/dotcom-rendering/src/lib/useEditionSwitcherBanner.ts similarity index 100% rename from dotcom-rendering/src/lib/useUserPreferredEdition.ts rename to dotcom-rendering/src/lib/useEditionSwitcherBanner.ts