Skip to content

Commit

Permalink
Pass down pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Dec 29, 2022
1 parent 680c993 commit bbbe473
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SearchBlock/BlockContainer/BlockContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default function BlockContainer(props) {
onDeleteBlock={() => {}}
onChangeBlock={onChangeSlotfill}
onSelectBlock={(id, isSelected) => onSelectSlotfill(id)}
pathname={location.pathname}
index={index}
disableNewBlocks={true}
blocksConfig={blocksConfig}
Expand Down

0 comments on commit bbbe473

Please sign in to comment.