Skip to content

Commit

Permalink
fix: breadcrumbs ssr rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Nov 27, 2024
1 parent 759177b commit 7127cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Breadcrumbs/Breadcrumbs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Breadcrumbs = ({ pathname, match }) => {

let items =
useSelector((state) => {
return state.breadcrumbs.items;
return [...state.breadcrumbs.items];
}, isEqual) || [];
const subsite = useSelector((state) => state.subsite?.data);
const bcLoaded = useSelector((state) => {
Expand Down

0 comments on commit 7127cc9

Please sign in to comment.