Skip to content

Commit

Permalink
fix ItemPage imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Aug 20, 2024
1 parent 0fee413 commit 77bb1f3
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import React, {
type HTMLAttributes,
type ReactNode,
Fragment,
} from 'react'
import { useRouter } from 'next/router'
import { Fragment, type HTMLAttributes, type ReactNode } from 'react'

import { Breadcrumbs, Item } from '@keystar/ui/breadcrumbs'
import { HStack } from '@keystar/ui/layout'
import { breakpointQueries, css, tokenSchema } from '@keystar/ui/style'
import { Heading, Text } from '@keystar/ui/typography'

import { Container } from '../../../../admin-ui/components/Container'
import { type ListMeta } from '../../../../types'
import type { ListMeta } from '../../../../types'

type ItemPageHeaderProps = {
label: string
Expand All @@ -33,7 +37,7 @@ export function ItemPageHeader (props: ItemPageHeaderProps) {
{label}
</Item>
</Breadcrumbs>

{/* Every page must have an H1 for accessibility. */}
<Text elementType="h1" visuallyHidden>
{title}
Expand Down

0 comments on commit 77bb1f3

Please sign in to comment.