diff --git a/src/index.ts b/src/index.ts index 0b6ad2b..8410d2e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,6 @@ export { default as removeCartItem } from './cart/removeCartItem'; export { default as cart } from './cart'; export { default as fetchWithGraphQl } from './fetchWithGraphQl'; export { default as product } from './product'; -export { default as routes } from './routes'; export { default as session } from './session'; export { default as signIn } from './session/signIn'; export { default as signOut } from './session/signOut'; diff --git a/src/routes.ts b/src/routes.ts deleted file mode 100644 index d6d1738..0000000 --- a/src/routes.ts +++ /dev/null @@ -1 +0,0 @@ -export default []; diff --git a/src/types/Connector.ts b/src/types/Connector.ts index bfd0897..0a105f1 100644 --- a/src/types/Connector.ts +++ b/src/types/Connector.ts @@ -7,7 +7,6 @@ import removeCartItem from '../cart/removeCartItem'; import product from '../product'; import productSlots from '../product/productSlots'; import productSuggestions from '../product/productSuggestions'; -import routes from '../routes'; import session from '../session'; import signIn from '../session/signIn'; import signOut from '../session/signOut'; @@ -41,7 +40,7 @@ export default class Magento2Connector implements Connector { search = search; - routes = routes; + routes = []; // @TODO: remove `routes` field from the interface productSlots = productSlots;