Skip to content

Commit

Permalink
fix(components): fix a bug applying crumbWrapperStyle prop
Browse files Browse the repository at this point in the history
crumbWrapperStyle prop was not being utilized correctly within the SitemapCrumbs and Breadcrumb
components
  • Loading branch information
sbardian committed Oct 1, 2019
1 parent aeb3931 commit e84893f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Breadcrumb.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Breadcrumb = ({
<span>{title}</span>
{crumbs.map((c, i) => {
return (
<div style={{ display: 'inline' }} key={i} {...crumbWrapperStyle}>
<div style={{ display: 'inline', ...crumbWrapperStyle }} key={i}>
<Link
to={c.pathname || ''}
style={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/SitemapCrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const SitemapCrumb = ({
<span>{title}</span>
{siteCrumbs.map((c, i) => {
return (
<div style={{ display: 'inline' }} key={i} {...crumbWrapperStyle}>
<div style={{ display: 'inline', ...crumbWrapperStyle }} key={i}>
<Link
to={c.pathname}
style={{
Expand Down

0 comments on commit e84893f

Please sign in to comment.