diff --git a/examples/b2b/app/components/Header.tsx b/examples/b2b/app/components/Header.tsx index eec4647765..6ac02c0614 100644 --- a/examples/b2b/app/components/Header.tsx +++ b/examples/b2b/app/components/Header.tsx @@ -1,4 +1,4 @@ -import {Await, useFetcher, NavLink} from '@remix-run/react'; +import {Await, NavLink} from '@remix-run/react'; import {Suspense} from 'react'; import type {HeaderQuery} from 'storefrontapi.generated'; import type {LayoutProps} from './Layout'; diff --git a/examples/b2b/app/routes/b2blocations.tsx b/examples/b2b/app/routes/b2blocations.tsx index 56122ad079..3189765692 100644 --- a/examples/b2b/app/routes/b2blocations.tsx +++ b/examples/b2b/app/routes/b2blocations.tsx @@ -1,9 +1,4 @@ -import { - defer, - json, - type LoaderFunctionArgs, - type ActionFunctionArgs, -} from '@shopify/remix-oxygen'; +import {defer, type LoaderFunctionArgs} from '@shopify/remix-oxygen'; import {useLoaderData} from '@remix-run/react'; import {B2BLocationSelector} from '../components/B2BLocationSelector'; import {CUSTOMER_LOCATIONS_QUERY} from '~/graphql/customer-account/CustomerLocationsQuery';