Skip to content

Commit

Permalink
Don't fail in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim authored and wesleybl committed Dec 20, 2022
1 parent 0c7d9ad commit 6c1dddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ColumnsBlock/ColumnsBlockView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const getSides = (v) => {
};

const ColumnsBlockView = (props) => {
const location = useLocation();
const location = useLocation() || {};
const { gridSizes } = config.blocks.blocksConfig[COLUMNSBLOCK];
const { data = {}, gridSize = 12, gridCols = [] } = props.data;
const metadata = props.metadata || props.properties;
Expand Down

0 comments on commit 6c1dddf

Please sign in to comment.