Skip to content

Commit

Permalink
Cleanup types
Browse files Browse the repository at this point in the history
  • Loading branch information
paales committed Dec 6, 2024
1 parent 3d86871 commit 452e06d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
10 changes: 5 additions & 5 deletions examples/magento-graphcms/components/ProductListLayout/types.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MenuQueryFragment } from '@graphcommerce/magento-category'
import {
import type { MenuQueryFragment } from '@graphcommerce/magento-category'
import type {
CategoryDefaultFragment,
ColumnsConfig,
FilterTypes,
Expand All @@ -8,10 +8,10 @@ import {
ProductListQuery,
useProductList,
} from '@graphcommerce/magento-product'
import { CategoryPageQuery } from '../../graphql/CategoryPage.gql'
import { responsiveVal, useContainerSizing } from '@graphcommerce/next-ui'
import { useTheme } from '@mui/material'
import { useContainerSizing, responsiveVal } from '@graphcommerce/next-ui'
import { Breakpoint } from '@mui/material'
import type { Breakpoint } from '@mui/material'
import type { CategoryPageQuery } from '../../graphql/CategoryPage.gql'

type BaseProps = MenuQueryFragment &
ProductListQuery &
Expand Down
1 change: 0 additions & 1 deletion examples/magento-graphcms/components/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import {
breakpointVal,
containerSizing,
MuiButtonInline,
MuiButtonPill,
MuiButtonResponsive,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MenuQueryFragment } from '@graphcommerce/magento-category'
import {
import type { MenuQueryFragment } from '@graphcommerce/magento-category'
import type {
CategoryDefaultFragment,
ColumnsConfig,
FilterTypes,
Expand All @@ -8,10 +8,10 @@ import {
ProductListQuery,
useProductList,
} from '@graphcommerce/magento-product'
import { CategoryPageQuery } from '../../graphql/CategoryPage.gql'
import { responsiveVal, useContainerSizing } from '@graphcommerce/next-ui'
import { useTheme } from '@mui/material'
import { useContainerSizing, responsiveVal } from '@graphcommerce/next-ui'
import { Breakpoint } from '@mui/material'
import type { Breakpoint } from '@mui/material'
import type { CategoryPageQuery } from '../../graphql/CategoryPage.gql'

type BaseProps = MenuQueryFragment &
ProductListQuery &
Expand Down

0 comments on commit 452e06d

Please sign in to comment.