Skip to content

Commit

Permalink
Rename useUserPreferredEdition file to match export
Browse files Browse the repository at this point in the history
  • Loading branch information
domlander committed Oct 18, 2024
1 parent 778a9fb commit f690107
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion dotcom-rendering/src/components/FrontSubNav.importable.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion dotcom-rendering/src/components/Titlepiece.importable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f690107

Please sign in to comment.