Skip to content

Commit d62e7dc

Browse files
committed
Fix import errors
1 parent e5a8588 commit d62e7dc

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import type { ReactNode } from 'react';
2-
import styles, { GRID_AREAS } from '../index.styles';
3-
4-
export { GRID_AREAS };
2+
import styles from '../index.styles';
53

64
interface ActionGridProps {
75
children: ReactNode;
86
}
97

10-
export const ActionGrid = ({ children }: ActionGridProps) => (
8+
const ActionGrid = ({ children }: ActionGridProps) => (
119
<div css={styles.actionGrid}>{children}</div>
1210
);
11+
12+
export default ActionGrid;

src/app/components-webcore/SportDataHeader/head-to-head-v2/components/grouped-events.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ActionGrid } from './action-grid';
1+
import ActionGrid from './action-grid';
22
import VisuallyHiddenText from '../../../../components/VisuallyHiddenText';
33
import styles from '../index.styles';
44
import type { GroupedActions as GroupedActionsType } from '../types';

src/app/components-webcore/SportDataHeader/head-to-head-v2/components/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TypeScript component re-exports
22
// This ensures TypeScript imports resolve to .tsx files
33

4-
export { ActionGrid, GRID_AREAS } from './action-grid';
4+
export { default as ActionGrid } from './action-grid';
55
export { default as Action } from './action';
66
export { default as ActionsTime } from './actions-time';
77
export { Actions } from './actions';
@@ -10,7 +10,7 @@ export { default as Centre, shouldShowScores } from './centre';
1010
export { default as ConditionalOnwardJourneyLink } from './conditional-onward-journey-link';
1111
export { default as FixtureTime } from './fixture-time';
1212
export { default as Footer } from './footer';
13-
export { GroupedEvents } from './grouped-events';
13+
export { default as GroupedEvents } from './grouped-events';
1414
export { HeadToHeadBanner } from './head-to-head-banner';
1515
export { default as HeadToHeadHeader } from './head-to-head-header';
1616
export { KeyEvents } from './key-events';

0 commit comments

Comments
 (0)