Skip to content

Commit

Permalink
updated breadcrumbs item width
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan B12 authored and ivan B12 committed Feb 9, 2024
1 parent f81e639 commit 1650c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/layout/breadcrumbs/Breadcrumbs.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function getEntryWidth (entry) {
return entry.current.getBoundingClientRect().width
}

function Breadcrumbs ({ entries, onClick, maxEntryWidth = 90 }) {
function Breadcrumbs ({ entries, onClick, maxEntryWidth }) {
const lastIndex = entries.length - 1
const containerRef = React.useRef(null)
const entriesRefs = entries.map(entry => React.useRef(null))
Expand Down

0 comments on commit 1650c5a

Please sign in to comment.