Skip to content

Commit

Permalink
fix(breadcrumbs): fix breadcrumbs after navigation refactor (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincenzoDeSisto authored Jun 6, 2024
1 parent 31aa128 commit 03ba9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/BreadCrumbs/BreadCrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const BreadCrumbs = (props) => {
const handleBack = (e) => {
e.preventDefault();
e.stopPropagation();
if (!isOpenedFromApp || document.referrer == "") {
if (!isOpenedFromApp) {
navigate("/search", { replace: true });
} else {
window.history.back();
Expand Down

0 comments on commit 03ba9fa

Please sign in to comment.