From 9dec47f31dcd1e5cd334bf1a567793997c0b64ef Mon Sep 17 00:00:00 2001 From: Mattias Hinderson Date: Fri, 12 May 2023 14:25:18 +0200 Subject: [PATCH] feat: Use breadcrumbs component from WSUI --- packages/gatsby-plugin-breadcrumbs/src/PageBreadcrumbs.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/gatsby-plugin-breadcrumbs/src/PageBreadcrumbs.js b/packages/gatsby-plugin-breadcrumbs/src/PageBreadcrumbs.js index 4c80d145..0bbe66b8 100644 --- a/packages/gatsby-plugin-breadcrumbs/src/PageBreadcrumbs.js +++ b/packages/gatsby-plugin-breadcrumbs/src/PageBreadcrumbs.js @@ -1,5 +1,6 @@ import { useLocation } from "@gatsbyjs/reach-router"; -import { Breadcrumbs, withComponentDefaults } from "@whitespace/components"; +import { withComponentDefaults } from "@whitespace/components"; +import { Breadcrumbs } from "@wsui/base"; import { useStaticQuery, graphql } from "gatsby"; import { startCase, camelCase } from "lodash"; import PropTypes from "prop-types"; @@ -57,5 +58,6 @@ function PageBreadcrumbs({ transformItems = (items) => items, ...restProps }) { } items = transformItems(items, { location, page }); items = items.filter(Boolean); - return ; + + return ; }